kojiro 1189620231 learn Bash can behave in very different ways depending on how you start it. Please tell us if your script is being invoked by any command or shebang different from /bin/bash, even if it's a symlink to /bin/bash. kojiro 1189620254 forget kojiro 1189620313 learn Invocation is important and will change how your script behaves. /bin/sh is *ALWAYS* different from /bin/bash ormaaj 1320653762 forget ormaaj 1320653829 learn Invocation is important and will change how your script behaves. /bin/sh is *ALWAYS* different from /bin/bash. http://wiki.bash-hackers.org/scripting/bashbehaviour