[ale] perl help
Fletch
fletch at phydeaux.org
Fri Apr 12 10:38:52 EDT 2002
>>>>> "Ken" == Ken Nagorski <kenn at pcintelligent.com> writes:
Ken> Try this, open(FILE, "lalala"); while(<FILE>) { $_ =~
Ken> s/\r\n/\n/; print($_); }
ITYM
$ perl -i.bak -pe 's/\cM+$//' lalala
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list