For those who are interested, my BASH problems were due to the presence of some control characters in the script file. I was using the "ae" editor, which in its latest incarnation was inserting a "^M" at the end of each line to signify a carriage return. Once I switched to vi I could see the characters, and delete them. This fixed the scripts.
-- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .