|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Someone(Jason?) on the list gave me this
cat <FileName> | tr -d '\r' > out; mv out <FileName>
On Fri, 15 Oct 1999, Charles Stack wrote:
> Our new hire just download a DOS based perl script onto our web server.
> Problem is, it is still in DOS form (i.e. an extra ^m on the end of each
> line). Does anyone know of the program called dos2unix or how to remove
> these extra characters using a simple perl script?
>
> Thanks,
>
> Charles
>
>
> _______________________________________________
> Plug maillist - Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
>
_______________________________________________
Plug maillist - Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug
|
|