Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "set -o foo" does not fail / does not abort the shell
- X-seq: zsh-workers 24213
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: "set -o foo" does not fail / does not abort the shell
- Date: Tue, 11 Dec 2007 08:35:10 -0800
- In-reply-to: <200712111356.lBBDuo5B024173@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20071211125419.GS13079@xxxxxxxxxxxxxxxxxxx> <200712111356.lBBDuo5B024173@xxxxxxxxxxxxxx>
On Dec 11, 1:56pm, Peter Stephenson wrote:
}
} Vincent Lefevre wrote:
} > I've tried the following with zsh-4.3.4-dev-4:
} >
} > $ Src/zsh -f -c 'emulate sh; set -o foo; echo "Didn''t abort ($?)"'
} > set: no such option: foo
} > Didn't abort (0)
} >
} > This is incorrect. The shell should abort as 'set' is a special
} > builtin[*]:
}
} This is easy.
I'm left wondering if this shouldn't be a POSIX-mode thing, i.e. whether
zsh in "native mode" should continue as it has.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author