I have a script to check filesystem space. I wanted to add a new filesystem to the check so I opened the file with Emacs and copied one section, pasted it, and substituted the new filesytem name in the check area. I noticed that in Emas there where ^M characters at the end of every line. After I saved the file and it ran I got error
./filesystem_check[21]: ^M: not found
Now when I edit using vi I see ^M at the end of the section I copied from and in the section I added. This should be extremely simple. Any one know why these characters are showing up in a file where I have never seen them before. The code should work but I think the ^M is causing a problem.
Version 5.1 pk 5 of Tru64. Thanks for any help.
Received on Tue Jan 28 2003 - 21:54:59 NZDT