From: Thomas Glanzmann Date: Sat, 27 May 2006 10:24:39 GMT Subject: Re: [SCRIPT] chomp: trim trailing whitespace Message-ID: <20060527102439.GB26430@cip.informatik.uni-erlangen.de> In-Reply-To: Hello, > #!/usr/bin/perl -i -p > s/[ \t\r\n]+$// perl -p -i -e 's/\s+$//' file1 file2 file3 ... Thomas