freebsd-dev/bin
Jordan K. Hubbard d653487a46 [ From Dave Tweten ]
POSIX.2 looks pretty unequivocal to me, and it agrees with you.

Under the explanation of the "-p" option, it says, "Each dir operand that
names an existing directory shall be ignored without error."  Under the
explanation of exit status zero, it says, "All the specified directories were
created successfully, or the-p option was specified and all the specified
directories now exist."

Seems to me POSIX requires exactly the behavior you want.

[ And I've made the change, which is also now compatible with 1.x - jkh ]

Reviewed by:	jkh
Submitted by:	jkh/tweten
1994-09-08 21:34:33 +00:00
..
cat BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
chflags BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
chmod BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
cp BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
csh The handling of err.h and const.h were in a real tangle and didn't 1994-08-07 21:28:27 +00:00
date Reviewed by: 1994-08-28 17:19:58 +00:00
dd BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
df The last commit was bogus...the putenv doesn't affect the parent process, 1994-08-12 10:23:49 +00:00
echo BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
ed Submitted by: phk 1994-07-23 18:14:06 +00:00
expr Explicitly include <sys/types.h> before including <regex.h>. This is 1994-09-05 13:03:50 +00:00
hostname BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
kill BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
ln Fix makefiles for our macros. 1994-08-05 17:02:31 +00:00
ls BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
mkdir [ From Dave Tweten ] 1994-09-08 21:34:33 +00:00
mv BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
pax BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
ps Added rtprio option/field. 1994-09-01 11:28:45 +00:00
pwd BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
rcp Disable Kerberos for now. 1994-08-06 01:48:36 +00:00
rm Reviewed by: 1994-08-28 18:34:50 +00:00
rmail Fix makefiles for our macros. 1994-08-05 17:02:31 +00:00
rmdir BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
sh Add dependencies on libraries to DPADD. Someday this should be done 1994-08-28 18:49:06 +00:00
sleep BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
stty BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
sync Fix makefiles for our macros. 1994-08-05 17:02:31 +00:00
test BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
Makefile BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
Makefile.inc WHOOPS! Put that back! Sorry, wrong Makefile.inc! 1994-08-08 19:30:03 +00:00