LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Bernd Petrovitsch <bernd@firmix.at>
To: Daniel Walker <dwalker@mvista.com>
Cc: Jiri Slaby <jirislaby@gmail.com>,
	apw@shadowen.org, linux-kernel@vger.kernel.org,
	rdunlap@xenotime.net, jschopp@austin.ibm.com
Subject: Re: [PATCH] checkpatch.pl: allow piping
Date: Fri, 11 Jan 2008 11:08:38 +0100	[thread overview]
Message-ID: <1200046118.10166.5.camel@tara.firmix.at> (raw)
In-Reply-To: <1200043827.29897.70.camel@imap.mvista.com>

On Fre, 2008-01-11 at 01:30 -0800, Daniel Walker wrote:
> On Fri, 2008-01-11 at 10:23 +0100, Bernd Petrovitsch wrote:
> > On Fre, 2008-01-11 at 10:21 +0100, Jiri Slaby wrote:
> > > On 01/11/2008 10:17 AM, Daniel Walker wrote:
> > > > On Fri, 2008-01-11 at 09:52 +0100, Jiri Slaby wrote:
> > > >> On 01/11/2008 05:10 AM, Daniel Walker wrote:
[...]
> > > > I was using it to do something like the following ,
> > > > 
> > > > git show 9914cad54c79d0b89b1f066c0894f00e1344131c
> > | ./scripts/checkpatch.pl
> > > 
> > > Ok, and if you add a - there, it should have the same effect, but
> > for free, 
> > > doesn't it:
> > > git show 9914cad54c79d0b89b1f066c0894f00e1344131c
> > | ./scripts/checkpatch.pl -
> > 
> > JftSoC:
> > git show 9914cad54c79d0b89b1f066c0894f00e1344131c
> > | ./scripts/checkpatch.pl /dev/stdin
> > (and there a a few others) should also do the trick.
> 
> Not a particularly attractive command line .. Might still be a good idea

Might be.
But it works for (almost?) all programs (which do not need seekable
input) which absolutely want the input file specified by a parameter.
And if it's an proprietary program, you can't even patch it.

> to add this since these two forms alluded me, and are likely to allude
> people new to unix all together (who is more likely to be using this
> particular tool)..

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



      parent reply	other threads:[~2008-01-11 10:08 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080111041120.085610726@mvista.com>
2008-01-11  4:11 ` Daniel Walker
2008-01-11  8:52 ` Jiri Slaby
2008-01-11  9:17   ` Daniel Walker
2008-01-11  9:21     ` Jiri Slaby
2008-01-11  9:23       ` Bernd Petrovitsch
2008-01-11  9:30         ` Daniel Walker
2008-01-11  9:34           ` Jiri Slaby
2008-01-11  9:36             ` Daniel Walker
2008-01-11  9:41               ` Jiri Slaby
2008-01-11  9:47                 ` Daniel Walker
2008-01-11 10:11                   ` Bernd Petrovitsch
2008-01-11 11:16               ` Stefan Richter
2008-01-11 11:50                 ` Jiri Slaby
2008-01-11 17:06                   ` [PATCH] checkpatch.pl: show how to read from stdin Stefan Richter
2008-01-11 17:09                     ` Daniel Walker
2008-01-11 17:29                       ` Stefan Richter
2008-01-11 17:39                         ` Daniel Walker
2008-01-14 17:17                     ` Andy Whitcroft
2008-01-14 17:35                       ` Daniel Walker
2008-01-14 19:12                         ` Andy Whitcroft
2008-01-14 19:17                           ` Daniel Walker
2008-01-14 19:31                             ` Stefan Richter
2008-01-14 19:44                               ` Jiri Slaby
2008-01-14 19:51                               ` Daniel Walker
2008-01-11 10:08           ` Bernd Petrovitsch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1200046118.10166.5.camel@tara.firmix.at \
    --to=bernd@firmix.at \
    --cc=apw@shadowen.org \
    --cc=dwalker@mvista.com \
    --cc=jirislaby@gmail.com \
    --cc=jschopp@austin.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    --subject='Re: [PATCH] checkpatch.pl: allow piping' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).