#A Linux Shell script for converting a text file in DOS format to one in #the Unix format. The command is "ChangeToUnix [Name of File" #Note: do not have a file called "hold.txt" in the directory this is running in. #Add executable permission to this file to run. touch hold.txt perl -p -e 's/\r$//' < $1 > hold.txt rm $1 cp hold.txt $1 rm hold.txt