Re Adrian's (?) puzzling case of shell scripts that aren't executable,
I think I know why, having just hit the problem myself. Edit the script
and see if it's a DOS text file (vi will tell you), i.e.  CR LF for line
separators. That's why it won't execute if you do ./foo. It's trying to
execute /bin/sh^M. You need to remove the CRs.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to