Re: [SCRIPT] chomp: trim trailing whitespace
- From
- Keith Owens <kaos@ocs.com.au>
- Date
- May 28, 2006, 08:33 UTC
- Message-ID
- <8694.1148805194@ocs3.ocs.com.au>
- In-Reply-To
- <Pine.LNX.4.61.0605271441080.4857@yvahk01.tjqt.qr>
Jan Engelhardt (on Sat, 27 May 2006 14:42:02 +0200 (MEST)) wrote:
>And the CL form is > perl -i -pe '...' >Somehow, you can't group it to -ipe, but who cares.
-i takes an optional extension which is used to optionally create backup files. As such, -i must be followed by space if you want no extension (and no backup).