Robert Elz <k...@munnari.oz.au> wrote:

>   | For some commands you need to do that (e.g. if you like to check whether 
>   | "set -o posix" is usable.
>
> Huh?   What shell, anywhere, exits on command not found ?   (that is, not
> counting when the command that was not found was the last, and not when
> it was run via "exec").

all conforming shells exit with "set -o bla" in a script.

ksh93 -c 'set -o bla; echo huhu'
ksh93[1]: set: bla: bad option(s)
Usage: set [-sabefhkmnprtuvxBCGH] [-A name] [-o[option]] [arg ...]

Jörg

-- 
 EMail:jo...@schily.net                    (home) Jörg Schilling D-13353 Berlin
    joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'

Reply via email to