Paul M. Lambert

Results 15 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" "$@" ||...

This change would definitely break the principle of least astonishment. As a user, getting a "wrong certificate" warning is far better than just having the connection drop. Browsers don't show...

One could achieve something similar to this by having a required parameter "Really run this in production?" whose default value is "no". The job itself would exit with failure if...