Re: Linuxification of DOS text files

2001-09-26 Thread Paul Huygen
"V. T. Jones" <[EMAIL PROTECTED]> wrote: > What is the program to run to convert DOS text files to Linux text files, > and vice versa. I.e., replace 0D 0A with 0A. Kalle Olavi Niemitalo <[EMAIL PROTECTED]> replied: > tr -d '\r' > [..] or, use do2unix, in package sysutils Paul

Re: Linuxification of DOS text files

2001-09-25 Thread d . l . whiteley
On 25-Sep-2001 Kalle Olavi Niemitalo wrote: > "V. T. Jones" <[EMAIL PROTECTED]> writes: > >> What is the program to run to convert DOS text files to Linux text >> files, >> and vice versa. I.e., replace 0D 0A with 0A. > > tr -d '\r' > > If you also want to convert between CP437 and Latin-1,

Re: Linuxification of DOS text files

2001-09-25 Thread Kalle Olavi Niemitalo
"V. T. Jones" <[EMAIL PROTECTED]> writes: > What is the program to run to convert DOS text files to Linux text files, > and vice versa. I.e., replace 0D 0A with 0A. tr -d '\r' If you also want to convert between CP437 and Latin-1, try "recode".