TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:13375] dos file format to linux



On Fri, 4 Feb 2000, Troy Johnson wrote:

> http://www.tc.umn.edu/~john1536/prog/perl/dos2unix

That looks like unix2dos.

s/\r\n$/\n/

you don't need s///g b/c \n is perl's end of line marker, anyway.

-Chris