diff options
| author | kre <kre@NetBSD.org> | 2017-05-09 05:14:03 +0000 |
|---|---|---|
| committer | kre <kre@NetBSD.org> | 2017-05-09 05:14:03 +0000 |
| commit | bfca98096fdc4ad2db2083a2f4a9f59b62e7fec1 (patch) | |
| tree | e3e73cf5dd850a7165c977911a38eb2bbd3d83c9 /lib/lua/sqlite | |
| parent | 4374b169c9f1a216abfbb5daae3918619d8e8ce7 (diff) | |
If we are going to permit
! ! pipeline
(And for now the other places where ! is permitted)
we should at least generate the logically correct exit
status:
! ! (exit 5); echo $?
should print 1, not 5. ksh and bosh do it this way - and it makes sense.
bash and the FreeBSD sh echo "5" (as did we until now.)
dash, zsh, yash all enforce the standard syntax, and prohibit this.
Diffstat (limited to 'lib/lua/sqlite')
0 files changed, 0 insertions, 0 deletions
