On Mon, 14 Mar 2005 14:31:08 -0600, David Nicol <[EMAIL PROTECTED]> wrote:
> sounds like a golf hole > > perl -plie 's/\s+$//' *.h *.c 0. -i takes an optional argument, and will eat -e 1. -e 's/... => -e's/... 2. *.h *.c => *.[hc] 3. That won't help p4 and it's annotation problem perl -pli -e's/\s+$//' *.[hc] -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using Perl 5.6.2, 5.8.0, 5.8.5, & 5.9.2 on HP-UX 10.20, 11.00 & 11.11, AIX 4.3 & 5.2, SuSE 9.1 & 9.2, and Cygwin. http://www.cmve.net/~merijn Smoking perl: http://www.test-smoke.org, perl QA: http://qa.perl.org reports to: [EMAIL PROTECTED], [email protected]
