On Fri, Jul 29, 2011 at 12:10 PM, Mukesh Yadav <[email protected]> wrote: > dos2unix did the magic :)
Hopefully, you have understood the "root" cause of your problem. DOS/Windows text files have two chars for each line EOL and CR. Whereas *nix based text files have only EOL. CR (^M) create havoc in your shell scripts. For shell scripts it is best to use the text editors on *nix platforms. -- Arun Khan A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
