Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750701AbWE1KAI (ORCPT ); Sun, 28 May 2006 06:00:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750707AbWE1KAI (ORCPT ); Sun, 28 May 2006 06:00:08 -0400 Received: from mail.gmx.net ([213.165.64.20]:22703 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S1750701AbWE1KAH (ORCPT ); Sun, 28 May 2006 06:00:07 -0400 X-Authenticated: #1490710 Date: Sun, 28 May 2006 12:00:01 +0200 (CEST) From: Johannes Schindelin X-X-Sender: gene099@wbgn013.biozentrum.uni-wuerzburg.de To: Linus Torvalds cc: Martin Langhoff , Jeff Garzik , Git Mailing List , Linux Kernel Subject: Re: [SCRIPT] chomp: trim trailing whitespace In-Reply-To: Message-ID: References: <4477B905.9090806@garzik.org> <46a038f90605270828u7842ea48hda07331388694db2@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 943 Lines: 25 Hi, On Sat, 27 May 2006, Linus Torvalds wrote: > Well, git-stripspace actually does something slightly differently, in that > it also removes extraneous all-whitespace lines from the beginning, the > end, and the middle (in the middle, the rule is: two or more empty lines > are collapsed into one). > > Ie it's a total hack for parsing just commit messages (and it is in C, > because I can personally write 25 lines of C in about a millionth of the > time I can write 3 lines of perl). But there is no good reason not to add some code and a command line switch, so that this tool with a very generic name actually performs what a normal person would expect from that name. Ciao, Dscho - 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/