bash scripting
Well I got it to run. I browsed the web a bit and found this command cat -v new.sh. That showed lots of ^M at the end of each line. Then I used :set ff=unix to set the file format for unix. It works now. I don't know how the ^M's got in the file. I wrote it on my linux box. Thanks everyone for the help. Dave
Signature · 7 lines
Dave Pomeroy K7DNP SouthEastern Washington - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs