[Mono-list] newline and cvs
Kristian Rietveld
kris@gtk.org
03 Mar 2002 17:02:58 +0100
On Sun, 2002-03-03 at 16:51, Gaurav Vaish wrote:
> ----- 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)
There Is More Than One Way To Do It.
It's the perl motto IIRC.
regards,
Kris
>
> : 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
> ---------------------------------
>
>
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>