Paul M. Lambert

Results 13 comments of Paul M. Lambert

There are many values for OPT that would result in unexpected arguments being passed to myprog. Is that what you are asking? For example, using this bash script to show...

Yes, shellcheck is aware of and tracks `set -e`'s status, which is why in the third example @e-kwsm doesn't show an error message after the `set -e`.

This is interesting; I've never seen process substitution used this way, to effectively create a compound statement without affecting `$?`. Typically, I've done this: ``` #!/bin/bash python "$PY" "$@" ||...