[Mono-list] newline and cvs
Gaurav Vaish
gvaish@iitk.ac.in
Sun, 3 Mar 2002 21:21:11 +0530
----- Original Message -----
From: "Pixel" <pixel@mandrakesoft.com>
To: "Gaurav Vaish" <gvaish@iitk.ac.in>
Cc: "Mono Developers" <mono-list@ximian.com>
Sent: Sunday, March 03, 2002 20:09
Subject: Re: [Mono-list] newline and cvs
: please, when using perl, write the perl way,
;-)
: TIMTOWTDI but some are better than others ;p
What's that? Never came across! (TIMTOWTDI)
: remove \r: perl -pi -e 's/\r$//' file1 file2...
: add \r: perl -pi -e 's/\r?$//' file1 file2...
Simon mailed me another variation:
perl -p0 -e ...
Still in learning mode of perl ;-) (Me, who else)
Cheers,
Gaurav Vaish
http://home.iitk.ac.in/student/gvaish
http://calendar.yahoo.com/mastergaurav
---------------------------------