Ralf Wildenhues <[EMAIL PROTECTED]> writes:

> To tell you the truth, I'm a bit at a loss how to go about this.

How about this idea instead?

for i in `(set -o) 2>/dev/null`; do
  case $i in
  posix) set -o posix;;
  esac
done


Reply via email to