1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00
freebsd/bin
Garance A Drosehn c675340a5c Rewrite the kludge-option processing to improve how it handles a few
more special situations.  This is the code which process `ps blah',
when "blah" does not include a leading '-'.

This change also removes a long-undocumented BACKWARD_COMPATIBILITY
compile-time option, where:
     ps -options arg1 arg2
(with no '-' on "arg1" and "arg2") was treated as:
    ps -options -N arg1 -M arg2

This also changes `ps' to check for any additional arguments after
processing all the '-'-options, and attempt to use those arguments as
a pid or pidlist.  If an extra argument is not a valid pidlist, then
`ps' will print an error and exit.  This seems a more generally useful
extension of the kludge-option processing than the -N/-M behavior, and
has fewer confusing side-effects.

Reviewed by:	freebsd-arch
2004-06-01 02:03:21 +00:00
..
cat Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
chflags Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
chio Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
chmod Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
cp Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
csh Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
date DESCRIPTION was not updated for the new SYNOPSIS. 2004-05-16 21:33:48 +00:00
dd Bump document date for the latest functional change. 2004-05-16 21:34:15 +00:00
df Use humanize_number(3) to format sizes into a human readable form. 2004-05-24 22:22:29 +00:00
domainname Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
echo Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
ed Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
expr Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
getfacl Fixed spelling of the document date. 2004-05-16 21:34:31 +00:00
hostname Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
kenv Various quibbles: 2004-04-28 01:27:36 +00:00
kill Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
ln Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
ls Use humanize_number(3). 2004-05-25 14:53:47 +00:00
mkdir Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
mv Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
pax Use WARNS?=3 for these in the arm case for now, due to toolchain issues. 2004-05-14 13:31:21 +00:00
ps Rewrite the kludge-option processing to improve how it handles a few 2004-06-01 02:03:21 +00:00
pwd Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
rcp Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
realpath Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
rm Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
rmail Remove WFORMAT, style.Makefile(5). 2004-03-22 03:17:36 +00:00
rmdir Added -v to usage(). 2004-05-16 20:41:11 +00:00
setfacl Add additional documentation to setfacl(1) regarding the behavior of 2003-08-07 14:52:17 +00:00
sh Include <stdio.h> for a sprintf() prototype. 2004-05-24 10:11:31 +00:00
sleep Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
stty Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
sync Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
test Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
uuidgen The uuidgen(1) program is WARNS=6 clean, so flag it as such. 2003-12-07 21:34:56 +00:00
Makefile - Build things in pure dictionary order (see sort(1)). 2004-01-16 15:23:19 +00:00
Makefile.inc Force a staticly linked /bin and /sbin for ia64. The necessary changes 2003-11-19 16:59:00 +00:00