1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-20 02:38:43 +00:00
freebsd/bin
Jilles Tjoelker c3bb858966 sh: Do not abort on a redirection error on a compound command.
Redirection errors on subshells already did not abort the shell because
the redirection is executed in the subshell.

Other shells seem to agree that these redirection errors should not abort
the shell.

Also ensure that the redirections will be cleaned up properly in cases like
  command eval '{ shift x; } 2>/dev/null'

Example:
  { echo bad; } </var/empty/x; echo good
2010-03-14 14:24:35 +00:00
..
cat Removed redundant WARNS setting. 2009-10-15 18:17:29 +00:00
chflags Staticify internal routines. 2009-06-23 23:30:56 +00:00
chio When running a "chio return" operation using a physical source unit 2008-10-30 19:51:02 +00:00
chmod - Don't include both <sys/types.h> and <sys/param.h> 2009-09-02 05:26:59 +00:00
cp Implement an "-x" option to cp(1), for compatibility with Linux and 2010-01-17 09:37:31 +00:00
csh Let csh(1) use utmpx instead of utmp. 2010-01-13 17:49:35 +00:00
date Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
dd Bump .Dd for r187609 2009-01-30 16:23:57 +00:00
df Staticify internal routines. 2009-06-23 23:30:56 +00:00
domainname
echo
ed ed(1): make WARNS=6 clean 2010-03-04 16:08:01 +00:00
expr
getfacl Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
hostname Staticify internal routines. 2009-06-23 23:30:56 +00:00
kenv Add missing `void' for function without arguments. 2009-12-29 08:45:07 +00:00
kill Do not restrict the allowed signals that can be specified by number 2010-02-25 13:53:09 +00:00
ln Allow creating hard links to symlinks using ln(1). 2009-07-19 17:35:23 +00:00
ls Make sure that FTS_COMFOLLOW is not set when the -P option is in effect. 2010-02-08 15:42:55 +00:00
mkdir
mv Add NFSv4 ACL support to mv(1). 2009-09-04 21:49:37 +00:00
pax Tell the compiler these structures are aligned to a byte boundary. 2010-02-07 17:05:22 +00:00
pkill The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-02 07:20:46 +00:00
ps Update the list of the process flags. Note that the lists of pending 2010-03-05 13:13:35 +00:00
pwait Add pwait utility, which waits for any process to terminate. 2009-11-17 22:47:20 +00:00
pwd
rcp
realpath
rm rm, find -delete: fix removing symlinks with uchg/uappnd set. 2009-05-30 10:42:19 +00:00
rmail Bump WARNS where possible. 2010-02-15 14:07:40 +00:00
rmdir
setfacl Switch to our preferred license text. 2010-03-07 07:59:05 +00:00
sh sh: Do not abort on a redirection error on a compound command. 2010-03-14 14:24:35 +00:00
sleep
stty
sync
test Fix various cases with 3 or 4 parameters in test(1) to be POSIX compliant. 2009-05-26 22:33:10 +00:00
uuidgen Removed redundant WARNS setting. 2009-10-15 18:17:29 +00:00
Makefile Add pwait utility, which waits for any process to terminate. 2009-11-17 22:47:20 +00:00
Makefile.inc