recode - converts files between character sets
Very handy tool to correct line feed and carriage return when you messed up these on windows and need to run a script on linux:
# dos2unix: recode 'ibmpc..lat1' file
#unix2dos: recode 'lat1..ibmpc' file