[KLUG Members] help with bash script error

Bruce Smith bruce at armintl.com
Mon Sep 12 12:15:06 EDT 2005


> Thanks everyone, but I got it. I opened the file in ee instead of vi and
> I saw all these ^M at the end of each line. I took them out and
> viola...things work. I wonder what I would need to do to get vi to print
> these. 

You can get rid of them in vi with

  :set fileformat=unix

and check the file format (dos/unix) with

  :set all

 - BS




More information about the Members mailing list