On 04/28/2014 02:43 PM, Linda Walsh wrote: >> cat bin/t.sh > #!/bin/bash -u -x This is an invalid shebang line. Historically, you are allowed at most ONE argument to the program that you will be executing. #!/bin/bash -ux is valid, #!/bin/bash -u -x is not. > If I run it via: >> bash t.sh > Hello World When you run it in this manner, you are NOT using the shebang line, but are instead using the 'bash' found on a PATH search, which explains: >> > ---works--- > Also weird -- the interp line says "/bin/bash" not "/usr/bin/bash" > as the shell, so why does the error come from /usr/bin/bash? the answer to this question. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org