Re: [PATCH] checkpatch.pl: allow piping
From: Jiri Slaby
Date: Fri Jan 11 2008 - 04:34:57 EST
On 01/11/2008 10:30 AM, 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:
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
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)..
If somebody is hacking kernel, I think he should know the - trick used in many
programs, but do not consider this as a nack.
thanks,
--
Jiri Slaby
Faculty of Informatics, Masaryk University
Suse Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/