[Linux-disciples] Deleting all non-ASCII characters

Stephen R Laniel steve at laniels.org
Thu Jul 17 12:05:50 EDT 2008


On Thu, Jul 17, 2008 at 12:03:56PM -0400, Jamie Forrest wrote:
> Would it work to pipe the output of cat into that? So:
> cat myfile | perl -n -e 's#[^[:ascii:]]##g
> ?

Try it. :-) No harm can come from
trying it out.

-- 
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key


More information about the Linux-disciples mailing list