sobomax
09fd7460b1
Fix slight disorder that broke sorting. Put in bold warning about the
...
fact that in this case order matters.
Submitted by: Peter Edwards <pmedwards@eircom.net>
2003-02-05 19:22:39 +00:00
charnier
34c8e00d1d
Add FBSDID.
2003-02-05 13:23:46 +00:00
charnier
923572be6a
Display elapsed time (-o etime) using [[dd-]hh:]mm:ss, which according to
...
Solaris man page is the POSIX way.
Reviewed by: jmallett
2003-02-05 13:18:17 +00:00
charnier
712128a7b6
Enclose sccsid according to style(9).
...
udp/timed -> timed/udp
2003-02-05 12:56:40 +00:00
trhodes
4c186b49ac
Remove another unused doc Makefile.
2003-02-04 20:46:23 +00:00
trhodes
370db79246
Cross ref chflags(1).
...
Suggested by: Craig Carey <research@ijs.co.nz) on -doc.
2003-02-04 20:38:51 +00:00
fanf
f2d3e8e22c
Improve the layout of the description of the various parameter expansion
...
modifiers. The paragraph that explains the difference between ${foo:-bar}
and ${foo-bar} etc. was not very visible.
2003-02-03 23:03:05 +00:00
mux
4290218dea
Remove now unnecessary main() prototype.
2003-01-29 21:46:12 +00:00
tjr
29dbde6d3c
Ensure that the TTY file descriptor is greater than or equal to 10 so that
...
it doesn't interfere with the user's redirections.
PR: 47136
MFC after: 1 week
2003-01-27 07:41:12 +00:00
phk
eed7833b83
Don't call DIOCWLABEL on disks, it is not implemented, and calling it
...
like this negated any practical value of the feature.
2003-01-26 11:13:40 +00:00
tjr
81914313b7
Make this compile with DEBUG defined now that WARNS=0 has been removed
...
from the Makefile:
- Print pointers with %p instead of %x.
- Include missing headers to get prototypes.
Noticed by: benno
2003-01-21 10:06:04 +00:00
chris
cddd9252c6
Reference maclabel(7).
...
Sponsored by: DARPA, Network Associates Laboratories
2003-01-20 21:25:00 +00:00
obrien
8115ffde7c
kenv(1) has been repo copied from usr.bin to bin.
...
Sometimes we need kenv(1) in /etc/rc.diskless*.
2003-01-20 17:56:25 +00:00
jmallett
73809496b4
Per-variable\ entry headers, to allow the 'ps -otime -otime=FOO' or similar
...
case to do the right thing and affect exactly one column. This is consistent
with GNU ps(1) in BSD mode, and POLA.
2003-01-19 00:31:16 +00:00
jmallett
0c8d64a2c4
When inserting a non-user-specified (e.g. not via -o or -O) format, don't dupe
...
one that is already there. This is consistent with GNU ps(1)'s BSD mode, and
POLA.
Reported by: Andy Farkas <andyf@speednet.com.au>
Tested by: Andy Farkas <andyf@speednet.com.au>
2003-01-19 00:22:34 +00:00
jmallett
40b68c17b2
Refer to the process label as proclabel, as there is a function called label,
...
and that's what these locals were called before.
2003-01-18 03:31:30 +00:00
johan
989f4676c5
realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.
...
This also reverts the PATH_MAX -> MAXPATHLEN part of
rev 1.3 of src/bin/realpath/realpath.c
Requested by: imp
Reviewed by: imp, bde
2003-01-15 21:22:55 +00:00
obrien
1cb150c8dd
Make the "tarcp" example more direct.
2003-01-10 17:37:23 +00:00
tjr
d53165c37b
Do not strip CTL* escapes from redirection filenames in exptilde(),
...
expari(), expbackq() and evalvar(). Similar to revision 1.39.
Patch from Tor Egge.
PR: 45349
MFC after: 2 weeks
2003-01-08 10:50:08 +00:00
schweikh
d3367c5f5d
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
...
especially in troff files.
2003-01-01 18:49:04 +00:00
schweikh
86f7487fb6
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
mike
85024903d7
Back out rev 1.44; getbsize(3)'s original interface has been restored.
...
Approved by: markm
2002-12-30 18:10:37 +00:00
rwatson
635446ba11
Add "-h" arguments to getfacl and setfacl, which behave in a manner
...
similar to "-h" on chown, chmod, etc, causing the operation to occur
on a final symlink in the provided path, rather than its target.
Obtained from: TrustedBSD Project
2002-12-30 15:36:29 +00:00
tjr
3b9687df3d
Add the "wordexp" shell built-in command which will be used to implement
...
the POSIX wordexp() function.
2002-12-26 14:28:54 +00:00
ru
4979ab8d81
mdoc(7) police: Deal with self-xrefs.
2002-12-24 13:41:48 +00:00
ru
301b96498b
Fixed the abuses of .Ql visible on stderr in troff mode.
...
PR: docs/37176
2002-12-23 16:04:51 +00:00
ru
872b8f74a9
mdoc(7) police: markup nit.
2002-12-23 15:21:38 +00:00
dwmalone
21a52f8f3f
Use '\033' rather than '\e' as the latter is a gccism.
...
PR: 46015
Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
MFC after: 1 week
2002-12-22 21:35:14 +00:00
tjr
c26513521a
pathconf() and acl_get_file() follow links so they cannot be used to
...
determine whether a symlink has an ACL. Instead, assume that symbolic
links don't have ACLs and don't bother checking. Avoids spurious
ENOENT warnings when listing directories containing broken symlinks
on filesystems with ACLs enabled.
Pointed out by: rwatson, bde
2002-12-19 01:13:23 +00:00
rwatson
98da0e02a3
Improve handling of symlink targets when listing MAC labels: don't
...
do the wrong thing when the symlink doesn't have a target, by
considering !f_label in the construction of ch_options.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-12-18 21:05:15 +00:00
johan
8b908a309f
Remove undocumented behavior (return current work dir if no path
...
is given as argument) that is not present in 4-Stable.
It was introduced when realpath(1) was split out of pwd(1).
The removed behavior is provided by pwd(1).
Reviewed by: mike
2002-12-18 11:50:28 +00:00
johan
2d0e93bb2e
- use MAXPATHLEN per realpath(3)
...
- use the problematic part of the path, instead of the argument,
when reporting an error.
Reviewed by: mike
2002-12-18 10:20:40 +00:00
trhodes
10dbdf9107
The code uses trapsasync, however the manual page uses asynctraps. Fix the
...
manual page to reflect the code.
PR: 45820
Submitted by: Marco Molteni <molter@tin.it>
Discussed with: tjr
2002-12-17 20:27:48 +00:00
fanf
3a97bafeeb
Document trap EXIT
and trap SIGNAME
.
2002-12-17 17:31:44 +00:00
tjr
0423e8e003
When job control is disabled, never show the job id when reporting the
...
status of a background process that has terminated because of a signal.
2002-12-14 01:08:04 +00:00
ru
4b97577172
Capitalize ASCII code names.
...
Approved by: re
2002-12-05 08:50:00 +00:00
ru
10c48e457c
mdoc(7) police:
...
Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai]
strings; using these strings is unsafe in troff mode, as they include a
change in a font size.
Approved by: re
2002-11-26 17:55:41 +00:00
ru
d530887c80
mdoc(7) police: In DESCRIPTION, list the options in pure alphabetical
...
order, as required by style(9). Document the effect of the -f option
on exit status. Fixed some spacing.
Submitted by: bde
Approved by: re
2002-11-25 14:18:42 +00:00
ru
7c122c963b
mdoc(7) police: markup fixes.
...
Approved by: re
2002-11-25 13:52:57 +00:00
ru
15c2be19db
mdoc(7) police: markup fixes.
...
Approved by: re
2002-11-25 13:20:30 +00:00
njl
017be360f4
Minimal take on previous commit -- remove getopt and printf. Static size
...
is reduced by 40k, dynamic by a few bytes.
Functional changes:
* "sleep -- arg" now returns usage() instead of ignoring the --
* "sleep -1" now returns immediately instead of returning usage()
Reviewed by: jmallett
2002-11-14 01:14:35 +00:00
njl
a274e06113
Back out previous commit since there is controversy about changing so much
...
in sleep including duping strtol(3). Code changes also increased
dynamic size of sleep(1).
2002-11-14 00:20:58 +00:00
njl
926d93e392
Remove getopt and strtol dependencies, reducing size of static exe.
...
Preserve older desired behavior, accept [+-]*[0-9]*\.[0-9]*
Remove a few unnecessary casts.
%ls -l /bin/sleep
-r-xr-xr-x 1 root wheel 61332 Oct 28 05:16 /bin/sleep
%ls -l /usr/obj/usr/src/bin/sleep/sleep
-rwxr-xr-x 1 root wheel 19124 Nov 13 12:12 /usr/obj/usr/src/bin/sleep/sleep
Submitted by: Tim Kientzle <kientzle@acm.org>
2002-11-13 20:12:26 +00:00
njl
1b2607e007
Put echo on a diet, removing unnecessary use of stdio and getopt.
...
Before...
-r-xr-xr-x 1 root wheel 58636 Oct 28 05:16 /bin/echo
After...
-rwxr-xr-x 1 root wheel 12824 Nov 12 17:39 /usr/obj/usr/src/bin/echo/echo
Submitted by: Tim Kientzle <kientzle@acm.org>
2002-11-13 01:39:02 +00:00
tjr
4fe3b11a8c
Use warn() instead of perror() or fprintf() where appropriate.
2002-11-06 01:18:12 +00:00
tjr
4cda572144
Cross-reference setfacl(1).
2002-11-04 06:46:53 +00:00
tjr
a743b5e38f
- Consistent use of warn() vs. perror().
...
- Gracefully handle the case where standard input is missing
a newline at EOF.
- Exit with status 1 instead of -1 (really 255) on error.
- Add a Diagnostics section to the manual page documenting
exit status.
Approved by: rwatson
2002-11-03 23:22:34 +00:00
tjr
0117af9cbb
Print a `+' character after the standard UNIX permission fields in long
...
listings if the file has an extended ACL (more than the required 3 entries).
This is what Solaris and IRIX do, and what the withdrawn POSIX.2c standard
required.
Reviewed by: rwatson (an earlier version of the patch)
2002-11-03 07:29:08 +00:00
tmm
a383c7b134
The hw.availpages sysctl has an unsigned long value now, fix the retrieval
...
to match that.
2002-11-01 23:26:20 +00:00
marcel
46c537c70b
o Remove $Id$ from copyright; there's $FreeBSD$,
...
o Remove static function uuid_print(); use uuid_to_string(3) in
combination with printf(3) to achieve the same,
o Remove unneeded includes,
o Add a reference to uuid(3) to the manpage.
2002-11-01 06:20:14 +00:00