It appears the problem was file format. I wrote some scripts in OpenOffice and saved them as Text (.txt) but "file SomeScript_OO.sh" shows:

   POSIX shell script, UTF-8 Unicode (with BOM) text executable

I first edited the scripts with vi looking for errors but none were apparent. And identical files written in OO and vi appear identical when edited.

Again, the scripts worked, I just didn't know why I received "#!/bin/sh: No such file or directory." I assumed I'd made an error when building 7.9. Perhaps the file format problem is widely know but it was news to me. I assumed Text (.txt) meant ASCII text.



--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to