summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix slight disorder that broke sorting. Put in bold warning about thesobomax2003-02-051-2/+3
| | | | | | fact that in this case order matters. Submitted by: Peter Edwards <pmedwards@eircom.net>
* Add FBSDID.charnier2003-02-051-1/+3
|
* Display elapsed time (-o etime) using [[dd-]hh:]mm:ss, which according tocharnier2003-02-055-4/+24
| | | | | | Solaris man page is the POSIX way. Reviewed by: jmallett
* Enclose sccsid according to style(9).charnier2003-02-052-5/+7
| | | | udp/timed -> timed/udp
* Remove another unused doc Makefile.trhodes2003-02-041-8/+0
|
* Cross ref chflags(1).trhodes2003-02-041-0/+1
| | | | Suggested by: Craig Carey <research@ijs.co.nz) on -doc.
* Improve the layout of the description of the various parameter expansionfanf2003-02-031-0/+2
| | | | | modifiers. The paragraph that explains the difference between ${foo:-bar} and ${foo-bar} etc. was not very visible.
* Remove now unnecessary main() prototype.mux2003-01-291-1/+0
|
* Ensure that the TTY file descriptor is greater than or equal to 10 so thattjr2003-01-271-1/+14
| | | | | | | it doesn't interfere with the user's redirections. PR: 47136 MFC after: 1 week
* Don't call DIOCWLABEL on disks, it is not implemented, and calling itphk2003-01-261-7/+1
| | | | like this negated any practical value of the feature.
* Make this compile with DEBUG defined now that WARNS=0 has been removedtjr2003-01-213-2/+4
| | | | | | | | from the Makefile: - Print pointers with %p instead of %x. - Include missing headers to get prototypes. Noticed by: benno
* Reference maclabel(7).chris2003-01-201-1/+3
| | | | Sponsored by: DARPA, Network Associates Laboratories
* kenv(1) has been repo copied from usr.bin to bin.obrien2003-01-201-0/+1
| | | | Sometimes we need kenv(1) in /etc/rc.diskless*.
* Per-variable\ entry headers, to allow the 'ps -otime -otime=FOO' or similarjmallett2003-01-194-11/+19
| | | | | case to do the right thing and affect exactly one column. This is consistent with GNU ps(1) in BSD mode, and POLA.
* When inserting a non-user-specified (e.g. not via -o or -O) format, don't dupejmallett2003-01-193-16/+39
| | | | | | | | 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>
* Refer to the process label as proclabel, as there is a function called label,jmallett2003-01-181-10/+10
| | | | and that's what these locals were called before.
* realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.johan2003-01-151-1/+1
| | | | | | | | 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
* Make the "tarcp" example more direct.obrien2003-01-101-5/+5
|
* Do not strip CTL* escapes from redirection filenames in exptilde(),tjr2003-01-081-4/+4
| | | | | | | | expari(), expbackq() and evalvar(). Similar to revision 1.39. Patch from Tor Egge. PR: 45349 MFC after: 2 weeks
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-0112-23/+23
| | | | especially in troff files.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-302-240/+240
| | | | Add FreeBSD Id tag where missing.
* Back out rev 1.44; getbsize(3)'s original interface has been restored.mike2002-12-301-4/+3
| | | | Approved by: markm
* Add "-h" arguments to getfacl and setfacl, which behave in a mannerrwatson2002-12-305-20/+49
| | | | | | | 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
* Add the "wordexp" shell built-in command which will be used to implementtjr2002-12-263-0/+24
| | | | the POSIX wordexp() function.
* mdoc(7) police: Deal with self-xrefs.ru2002-12-241-1/+1
|
* Fixed the abuses of .Ql visible on stderr in troff mode.ru2002-12-231-1/+1
| | | | PR: docs/37176
* mdoc(7) police: markup nit.ru2002-12-231-1/+1
|
* Use '\033' rather than '\e' as the latter is a gccism.dwmalone2002-12-221-1/+1
| | | | | | PR: 46015 Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl> MFC after: 1 week
* pathconf() and acl_get_file() follow links so they cannot be used totjr2002-12-191-0/+8
| | | | | | | | | 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
* Improve handling of symlink targets when listing MAC labels: don'trwatson2002-12-181-6/+13
| | | | | | | | 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
* Remove undocumented behavior (return current work dir if no pathjohan2002-12-181-5/+2
| | | | | | | | 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
* - use MAXPATHLEN per realpath(3)johan2002-12-181-2/+2
| | | | | | | - use the problematic part of the path, instead of the argument, when reporting an error. Reviewed by: mike
* The code uses trapsasync, however the manual page uses asynctraps. Fix thetrhodes2002-12-171-1/+1
| | | | | | | | manual page to reflect the code. PR: 45820 Submitted by: Marco Molteni <molter@tin.it> Discussed with: tjr
* Document `trap EXIT` and `trap SIGNAME`.fanf2002-12-171-1/+4
|
* When job control is disabled, never show the job id when reporting thetjr2002-12-141-1/+2
| | | | status of a background process that has terminated because of a signal.
* Capitalize ASCII code names.ru2002-12-051-1/+3
| | | | Approved by: re
* mdoc(7) police:ru2002-11-262-2/+2
| | | | | | | | 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
* mdoc(7) police: In DESCRIPTION, list the options in pure alphabeticalru2002-11-251-14/+17
| | | | | | | | 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
* mdoc(7) police: markup fixes.ru2002-11-251-6/+9
| | | | Approved by: re
* mdoc(7) police: markup fixes.ru2002-11-251-3/+3
| | | | Approved by: re
* Minimal take on previous commit -- remove getopt and printf. Static sizenjl2002-11-141-15/+9
| | | | | | | | | 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
* Back out previous commit since there is controversy about changing so muchnjl2002-11-141-24/+30
| | | | | in sleep including duping strtol(3). Code changes also increased dynamic size of sleep(1).
* Remove getopt and strtol dependencies, reducing size of static exe.njl2002-11-131-30/+24
| | | | | | | | | | | | 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>
* Put echo on a diet, removing unnecessary use of stdio and getopt.njl2002-11-131-9/+8
| | | | | | | | | 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>
* Use warn() instead of perror() or fprintf() where appropriate.tjr2002-11-062-14/+8
|
* Cross-reference setfacl(1).tjr2002-11-041-0/+1
|
* - Consistent use of warn() vs. perror().tjr2002-11-032-9/+10
| | | | | | | | | | - 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
* Print a `+' character after the standard UNIX permission fields in longtjr2002-11-032-2/+73
| | | | | | | | 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)
* The hw.availpages sysctl has an unsigned long value now, fix the retrievaltmm2002-11-012-2/+3
| | | | to match that.
* o Remove $Id$ from copyright; there's $FreeBSD$,marcel2002-11-012-18/+8
| | | | | | | 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.
OpenPOWER on IntegriCloud