Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754890AbYANTiz (ORCPT ); Mon, 14 Jan 2008 14:38:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751898AbYANTip (ORCPT ); Mon, 14 Jan 2008 14:38:45 -0500 Received: from einhorn.in-berlin.de ([192.109.42.8]:39933 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751568AbYANTio (ORCPT ); Mon, 14 Jan 2008 14:38:44 -0500 X-Envelope-From: stefanr@s5r6.in-berlin.de Message-ID: <478BB89A.803@s5r6.in-berlin.de> Date: Mon, 14 Jan 2008 20:31:38 +0100 From: Stefan Richter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071216 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Daniel Walker CC: Andy Whitcroft , Bernd Petrovitsch , linux-kernel@vger.kernel.org, Randy Dunlap , Joel Schopp , Jiri Slaby Subject: Re: [PATCH] checkpatch.pl: show how to read from stdin References: <47873505.7040008@gmail.com> <1200043399.3905.9.camel@gimli.at.home> <1200043827.29897.70.camel@imap.mvista.com> <47873833.30001@gmail.com> <1200044206.29897.73.camel@imap.mvista.com> <4787502B.2020606@s5r6.in-berlin.de> <47875809.7060301@gmail.com> <20080114171736.GC19327@shadowen.org> <1200332116.31521.3.camel@imap.mvista.com> <20080114191243.GB25058@shadowen.org> <1200338243.31521.10.camel@imap.mvista.com> In-Reply-To: <1200338243.31521.10.camel@imap.mvista.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1089 Lines: 26 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/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/