"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
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,
"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".
3 matches
Mail list logo