TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [TCLUG:1906] Shell Script Question
Just to clarify, (this list has had this discussion before I think). A
few ways to do this quickly: in vi, :%s/[^L-^N]//g converts CR/LF to
just LF quite nicely. There is also a dos2unix command that does this
(if my memory serves me correctly). tr also works if invoked properly.
----------
From: Eric Hillman
Sent: Friday, October 23, 1998 10:29 AM
- WinZip formatted the script as a dos text file, meaning that you'll
have
to chop the extra CR/LFs off the end of each line before the script will
work properly.