Luis Ariel Lecca writes:
> Im trying to find a good way to convert dos files (CR-LF) to Unix files
> (LF).  This should be safe and recursive but it should not change any
> binary file.

Write script using find to recurse, file to detect binaries, and dos2unix
to convert text files.

> The files arent large but there are millon.

You may need xargs, then.

> I couldnt find it on debian Sarge 3.1r2 ( apt-cache search dos2unix )

apt-get install tofrodos
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to