NetBSD/bin
mycroft 1ccdf5daeb Make "set -e" once again provide the behavior documented in the man page,
which was unnecessarily changed in revision 1.50 while fixing other bugs.
That is, exit the shell if the last command in a || or && compound statement
is not short-circuited, and exits with a false status.  I.e., the following
will cause the shell to exit:

  set -e
  false || false

While this is not the prescribed behavior in SUSv3, it is what our man page
documents, and it is what all of the following implementations do:

  NetBSD /bin/ksh (pdksh)
  bash
  zsh
  Solaris 9 /bin/sh
  Solaris 9 /usr/xpg4/bin/sh
  Solaris 9 /usr/bin/ksh
  Tru64 /bin/sh
  HP/UX 11 /bin/sh

The "standard" seems to be wrong in this instance.
2004-06-30 09:32:38 +00:00
..
cat Remove unused code left over from temporary printescaped functionality. 2004-01-04 03:31:28 +00:00
chio Sync usage with man page. Closes PR 25861 by Kouichirou Hiratsuka. 2004-06-25 14:27:57 +00:00
chmod Remove unused code left over from temporary printescaped functionality. 2004-01-04 03:34:00 +00:00
cp remove unused code left from printescaped() backput as pointed out by Jeff 2004-01-04 16:04:18 +00:00
csh Keep track of the while level, when popping loops because of a breaksw. 2004-05-13 15:25:58 +00:00
date Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
dd Spell the plural of suffix "suffixes", not "suffices". 2004-02-13 17:56:17 +00:00
df Mention -g in synopsis. PR#25800 from Kouichirou Hiratsuka. 2004-06-04 09:25:48 +00:00
domainname Drop extra space. 2004-06-15 14:08:33 +00:00
echo Put a few headers back so this compiles again. 2003-11-25 03:40:18 +00:00
ed use ${HOST_SH} instead of /bin/sh 2003-10-26 03:50:07 +00:00
expr Grammar improvement by Patrick Welche. 2004-04-23 13:28:58 +00:00
hostname Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
kill Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
ksh understand rlimit sbsize 2004-04-17 15:40:12 +00:00
ln Add -v to usage. Closes PR 25862 by Kouichirou Hiratsuka. 2004-06-25 14:25:33 +00:00
ls Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
mkdir remove unused code left from printescaped() backput as pointed out by Jeff 2004-01-04 16:04:18 +00:00
mt Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
mv remove unused code left from printescaped() backput as pointed out by Jeff 2004-01-04 16:04:18 +00:00
pax break out of the loop and avoid the infinite loop if attempts to 2004-06-26 13:28:09 +00:00
ps s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
pwd file system, not filesystem; e.g. is an abbreviation; use FAT instead of msdos 2003-10-30 14:58:23 +00:00
rcmd Move Matt Green's code from a 4-clause to a 3-clause licence by removing 2003-10-13 14:22:20 +00:00
rcp Remove duplicate include, fixes PR bin/25018 from Jeff Ito. 2004-04-02 09:08:55 +00:00
rm Sort sections, bump date for previous, and add a comma after e.g.. 2004-03-24 11:37:07 +00:00
rmdir Fix rmdir -p x/y/z// 2003-09-29 21:11:15 +00:00
sh Make "set -e" once again provide the behavior documented in the man page, 2004-06-30 09:32:38 +00:00
sleep Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
stty Fix longstanding gap in stty functionality: while many operations had 2004-04-01 16:10:03 +00:00
sync Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
systrace the special filename "" does not receive translation and is going to fail. 2004-01-24 03:44:46 +00:00
test Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
Makefile Add userland portion of systrace. 2002-06-17 16:29:07 +00:00
Makefile.inc Revert previous; the change that required it will be done differently. 2002-09-27 21:04:46 +00:00