[plug] Text file converter

Leon Brooks leon at brooks.smileys.net
Wed Apr 14 11:47:12 WST 1999


Damion Hill wrote:
 Is there a simple script for converting DOS/Win text files to Linux
> format? I'm finding that Hexchange is converting my linux text files and
> in the case of Perl scripts it stops them running.

Something like sed <DOSfile >unixfile should work quite well; you might
have to go as far as adding -e "s/\r//" to the command, though.

-- 
"What is the sound of Perl?  Is it not the sound of a wall that
 people have stopped banging their heads against?"
                --Larry Wall in <1992Aug26.184221.29627 at netlabs.com>


More information about the plug mailing list