|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
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?
>
The man pages say that "dos2unix -ascii <original_file> <converted_file>"
will do what you want. Without the "-ascii" it only convert the DOS
extended character set to the ISO set.
_______________________________________________
Plug maillist - Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug
|