Re: Re: [SLUG] Getting rid of ASCII 127 in a text file?

From: Ben Ostrowsky (ostrowb@tblc.org)
Date: Fri May 31 2002 - 14:16:44 EDT


> cat filename | perl -e '$char=chr(127);while (<STDIN>) {$_=~s/$char//gi;print $_;}' >newfilename

Yay! That did the trick. Thanks!

Ben



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:39:43 EDT