lkml.org 
[lkml]   [2008]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] checkpatch.pl: show how to read from stdin
Daniel Walker wrote:
> On Mon, 2008-01-14 at 19:12 +0000, Andy Whitcroft wrote:
>> with this I cannot run checkpatch and "type" (ie paste) a patch
>> fragment to check it.
...
> I'm not sure I understand what you mean .. Can you give an example?

AFAIU Daniel's patch still leaves the possibility to use the '-' syntax,
doesn't it?

(The program 'cat' is of the kind which always reads from stdin if no
file name is given, or if '-' is given instead of a file name. So,
'cat' allows Andy to start it and then type something in for cat to
process in either case, while checkpatch supports this only with '-' as
argument. OTOH it's easier to get checkpatch to print a usage note than
it is with cat. There you have to type no less than 'cat --help', or at
least with GNU cat.)
--
Stefan Richter
-=====-==--- ---= -===-
http://arcgraph.de/sr/


\
 
 \ /
  Last update: 2008-01-14 20:41    [W:0.070 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site