Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751034AbWE0KYm (ORCPT ); Sat, 27 May 2006 06:24:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751418AbWE0KYm (ORCPT ); Sat, 27 May 2006 06:24:42 -0400 Received: from faui03.informatik.uni-erlangen.de ([131.188.30.103]:31209 "EHLO faui03.informatik.uni-erlangen.de") by vger.kernel.org with ESMTP id S1751034AbWE0KYl (ORCPT ); Sat, 27 May 2006 06:24:41 -0400 Date: Sat, 27 May 2006 12:24:39 +0200 From: Thomas Glanzmann To: Linux Kernel Cc: GIT , Jan Engelhardt Subject: Re: [SCRIPT] chomp: trim trailing whitespace Message-ID: <20060527102439.GB26430@cip.informatik.uni-erlangen.de> Mail-Followup-To: Thomas Glanzmann , Linux Kernel , GIT , Jan Engelhardt References: <4477B905.9090806@garzik.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 358 Lines: 13 Hello, > #!/usr/bin/perl -i -p > s/[ \t\r\n]+$// perl -p -i -e 's/\s+$//' file1 file2 file3 ... Thomas - 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/