Wednesday, January 3, 2007

dos2unix

If your shell script looks well but does not work on linux machine, it probaly contains ^M at the end of each line because it may be created or modified using a dos/windows editor. To fix this problem run
dos2unix
command, which is OS/MAC to UNIX text file format converter available on linux.

No comments: