summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Add and document the 'jid' keyword for the '-o' option.pjd2005-03-202-1/+4
| | | | | Reviewed by: gad MFC after: 3 days
* Fix bin/pax doesn't wait for compress/gzip before exiting.obrien2005-03-121-4/+6
| | | | | Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de> Obtained from: OpenBSD (commited fix to PR 3455)
* Use ``.Pq Ql'' to quote single characters, instead of ``.Pq Li''.keramida2005-03-041-17/+17
| | | | | | | This makes the resulting output more aesthetically pleasing in text-only terminals: Reviewed by: ru
* Add a section describing the exit status of the shell.keramida2005-03-041-0/+8
| | | | Obtained from: NetBSD
* Wrap BSD r* commands in NO_RCMDS.trhodes2005-03-021-1/+1
| | | | | | Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk. Discussed with: ru, nectar
* Support \H, \h, \w, \W, \$ string expansion in the prompt.obrien2005-03-011-4/+91
| | | | Submitted by: mini
* Fix typophantom2005-02-272-2/+2
|
* Fix a few markup nits in previous commit.trhodes2005-02-252-7/+9
| | | | Noticed by: ru, who else? :)
* Note how cp(1) handles directories ending in "/."trhodes2005-02-241-1/+5
| | | | | PR: 75774 Submitted by: Mike Meyer <mwm@mired.org> (original version)
* Add information on utilities which may or may not be aware of file flags.trhodes2005-02-231-1/+18
| | | | | PR: 55653 Submitted by: Tony Maher <tonymaher@optushome.com.au> (original version)
* Change /bin/sh so *it* implements the processing needed for scripts togad2005-02-161-11/+43
| | | | | | | | | | | | | | | | | | | | | | work as expected when they have a "shebang line" of: #!/bin/sh -- # -*- perl -*- -p This specific line is recommended in some perl documentation, and I think I've seen similar lines in documentation for ruby and python. Those write-ups expect `sh' to ignore everything after the '--' if the first thing after the '--' is a '#'. See chapter 19, "The Command-Line Interface" in 3rd edition of "Programming Perl", for some discussion of why perl recommends using this line in some circumstances. The above line does work on solaris, irix and aix (as three data points), and it used to work on FreeBSD by means of a similar patch to execve(). However, that change to execve() effected *all* shells (which caused other problems), and that processing was recently removed. PR: 16393 (the original request to fix the same issue) Reviewed by: freebsd-current (looking at a slightly different patch) MFC after: 1 week
* Several improvements to ps.1:delphij2005-02-141-10/+22
| | | | | | | | | | | | | | | - Document the fact that empty heading text suppresses the heading line (e.g. 'ps -o pid='), as this is very useful in scripts. - Describe logname keyword more completely. - Describe the printing of arguments more completely. - Put lockname in the correct alphabetical order in the list of all keywords. - Correct sentence in standards section. Submitted by: Jilles Tjoelker <jilles at stack nl> PR: docs/73618 MFC After: 1 week
* Expand contractions.ru2005-02-131-1/+1
|
* Expand *n't contractions.ru2005-02-135-6/+6
|
* Fixed the misplaced $FreeBSD$.ru2005-02-092-2/+2
|
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-0915-29/+32
|
* Since it is not un-common for a process's resident set size (rss)csjp2005-02-061-1/+1
| | | | | | | | | | | | | to exceed 10 megabytes in size (especially in X), bump the max column width from 4 bytes to 5. This will make the ps auxw output uniform again when a process's rss exceeds 10 megs. It should be noted that when 5 digits becomes to small, other solutions should be explored such as displaying them in megabytes or having ps automatically re-size column widths. Discussed with: gad MFC after: 1 week
* Use LC_MESSAGES locale category instead of value of LANG environment variablephantom2005-02-012-0/+4
| | | | | | | | | while opening of tcsh's message catalog. It gives us more flexibility, and do not change current behaviour (since we call setlocale() here) Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com> PR: bin/76773 MFC After: 3 days
* Remove unnecessary SRCS= where could be guessed directly by ourdelphij2005-01-271-1/+0
| | | | | | bsd.*.mk infrasture. Obtained from: ru
* ps(1) is WARNS=6 on all Tier-1 platforms as far as I can test,delphij2005-01-271-1/+1
| | | | so use default WARNS level from bin/Makefile.inc
* Don't specify SRCS= when it can be obtained from PROGS=delphij2005-01-271-1/+0
|
* WARNS?=6 is already in bin/Makefile.inc, so remove this one.delphij2005-01-271-1/+0
|
* Remove useless errno.h include.ssouhlal2005-01-261-1/+0
| | | | | Approved by: grehan (mentor) Obtained from: DragonFlyBSD
* Remove WARNS?= 6 from Makefile, since it is already in src/bin/Makefile.incssouhlal2005-01-261-1/+0
| | | | | Requested by: ru Approved by: grehan (mentor)
* - The first argument of getmode() is a void *ssouhlal2005-01-252-1/+3
| | | | | | | - Add WARNS?= 6 Approved by: stefanf, grehan (mentor) Obtained from: DragonFlyBSD
* De-kerberize the manpage.ru2005-01-211-24/+3
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Add the new standard EXIT STATUS section where appropriate.ru2005-01-1626-220/+220
| | | | Sort standard sections in the (documented) preferred order.
* no need to have break; after return;charnier2005-01-161-1/+1
|
* Eliminate macro calls inside literal displays.ru2005-01-151-9/+6
|
* Removed harmful empty lines that crept in during the copyrightru2005-01-132-2/+0
| | | | header update.
* Don't decend into directories when -d is set and the directory itself doesn'tbrian2005-01-123-2/+19
| | | | | | | | match. PR: 28095 Submitted by: bill at twwells dot com MFC after: 7 days
* The total sum of blocks for the -l and -s option is printed always,joerg2005-01-111-3/+5
| | | | | | | | | | | regardless whether the output is to a terminal or not. As this is consistent with the SUSPv2 specification (even though we do not otherwise fully implement SUSPv2's ls(1) options), document this as it is now, rather than trying to change the behaviour itself. PR: docs/76072 Submitted by: Sebastian Rey <Sebastian.rey@gmx.net> MFC after: 1 week
* /*- or .\"- or #- to begin license clauses.imp2005-01-1092-48/+114
|
* Remove the clause 3, per berkeley and mail from rwatson representingimp2005-01-101-5/+1
| | | | that nai was OK with all third clause removals.
* Scheduled mdoc(7) sweep.ru2005-01-094-9/+13
|
* Correct typo.ceri2005-01-041-1/+1
|
* Remove single line containing the word "KLD" ommitted in ps.1:1.80.rwatson2004-12-221-1/+0
| | | | Pointed out by: ru (some time ago)
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* NOSHARED -> NO_SHAREDru2004-12-212-2/+2
|
* o Add a missed "." .maxim2004-12-021-1/+1
| | | | | Reviewed by: ru MFC after: 3 weeks
* o Terminate an endless loop sh -T goes into in dowait() around waitproc().maxim2004-12-021-1/+2
| | | | | | | | | | | | XXX from Tor: "The shell can also go into a similar loop if the child was killed by signal 127, since the shell would believe the child to have only stopped (WIFSTOPPED() macro returns nonzero value). Disallowing signals 127 and 128 will fix that problem." See kern/19402 for details. PR: bin/66242 Submitted by: tegge Analysis and testcase by: demon MFC after: 3 weeks
* Point at the mac(4) man page when describing the -Z option.rwatson2004-11-291-5/+4
| | | | | | Remove reference to /dev/lomac, which is no longer used by mac_lomac(4). MFC after: 3 days
* Do not emit a spurious warning when "directory" argumentru2004-11-201-1/+3
| | | | to "rmdir -p" is absolute, with one or more leading slash.
* Fixed "rmdir -p" that got broken by rev. 1.15.ru2004-11-201-6/+5
| | | | (This also fixes "rmdir -v /nonexistent".)
* Use statfs instead of getmntinfo(). This will make the procfs checkscsjp2004-11-191-9/+6
| | | | | | | play nicer in prisons. It also simplifies things. Reviewed by: rwatson Bumped into by: Jilles Tjoelker
* Currently if the user specifies -e and procfs is not mounted on /proc,csjp2004-11-141-0/+25
| | | | | | | | | | | printing of the process environment will fail silently. -define a function which will check to see if procfs is mounted on /proc -Implement this test if the user specified -e -If procfs is not mounted on /proc and -e was specified, print a warning. informing the user that procfs(5) is required. Reviewed by: wes, rwatson
* Removed bitrot.ru2004-11-132-14/+2
|
* Fix off-by-one errors and potential buffer overrunsyar2004-11-131-18/+30
| | | | | | | | | | WRT handling file and link names that reach the allowed maximum for old tar and ustar archive formats. PR: bin/40466 Submitted by: Cyrille Lefevre <email in the PR> (portions) Reviewed by: freebsd-arch (silence) MFC after: 1 month
* UNIX conformance: If -r -f on non-existent directory, don't emit error.jkh2004-11-131-1/+4
|
OpenPOWER on IntegriCloud