summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Back out recent TTYDEF_LFLAG_ECHO invention.ache2004-11-061-1/+1
| | | | | This change is NOP, because TTYDEF_LFLAG = TTYDEF_LFLAG_ECHO now, but to minimize diffs with other BSDs.
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+1
| | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver
* stty sane should set the echo bits.phk2004-11-021-1/+1
| | | | | | PR: 73423 Submitted by: Michiel Boland <michiel@boland.org> Overlooked by: phk
* When listing the special $ variables, ($!, $#, etc) list them as $!alfred2004-11-011-12/+16
| | | | | | | | instead of just !, this allows one to more easily locate/understand the section of the manpage in question. Additional wording correction by: keramida Reviewed by: keramida
* Correct a typo and make the documentation more mdoc(7) complaint.delphij2004-11-011-3/+3
| | | | | Pointed out by: dd Approved by: murray (mentor)
* Add -I, an option that asks for confirmation once if recursivelydelphij2004-10-282-5/+70
| | | | | | | | | | | | | | | | | | | | | removing directories or if more than 3 files are listed in the command line. This feature is intended to provide a safe net but not being too annoying like having "rm -i" for every deleting operations, and is generally good for both newbies and power users, preventing them from being so easily run into ``rm -rf /'', ``rm -rf *'' and so forth. Originally implemented by Matthew Dillon for DragonFly, plus some improvements done by various DragonFly contributors. Approved by: murray (mentor; the original dillon's version) Discussed with: des Obtained from: DragonFly's bin/rm/ rm.c rev. 1.4 - 1.8 rm.1 rev. 1.3 - 1.4 MFC After: 1 month
* The previous commit added code to rm(1) to warn about and remove anydes2004-10-041-1/+2
| | | | | | | | | | | | | | | occurrences of "/" in the argument list. This corresponds to Enhancement Request Number 5 in the Austin Group TC2 Aardvark's XCU Defects Report (<URL:http://www.opengroup.org/austin/aardvark/finaltext/xcubug.txt>). Further discussion is available in the Austin Group mailing list archives (<URL:http://www.opengroup.org/austin/mailarchives/>, "Defect in XCU rm") and for Austin Group members, in the Austin Group Interpretations archive (<URL:http://www.opengroup.org/austin/interps/>, AI-019) This commit makes that check conditional on !POSIXLY_CORRECT, since it is not strictly correct according to the current version of the standard (but is expected to be correct according to the next version, and has already been adopted by Solaris).
* Markup fixes.des2004-10-041-4/+4
| | | | Pointed out by: ru
* Find out how flame-proof my underwear really is.des2004-10-042-1/+25
|
* Whitespace cleanup.des2004-10-041-4/+4
|
* chflags compiles with WARNS?=6.stefanf2004-10-031-0/+1
|
* Garbage collect a variable whose value was never read.stefanf2004-10-031-5/+4
|
* Attempting to unset an undefined variable or function should not bedes2004-09-272-2/+2
| | | | | | | | considered an error according to the Open Group Base Specification. PR: standards/45738 Submitted by: Matthias Andree <matthias.andree@web.de> MFC after: 3 days
* Don't read the byte at *argv[strlen(*argv) + 1].das2004-09-241-1/+1
| | | | PR: 71743
* Group equivalent flags together and delete the `aliases' section.keramida2004-09-211-13/+8
| | | | | PR: docs/70856 Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com>
* Add a "fillchar" command line argument to dd(1) that permits the userrwatson2004-08-155-2/+32
| | | | | | | to specify an alternative padding character when using a conversion mode, or when using noerror with sync and an input error occurs. This facilities reading old and error-prone media by allowing the user to more effectively mark error blocks in the output stream.
* Change the behaviour of `-v' so that, e.g., stepping a month backyar2004-08-092-1/+30
| | | | | | | | | | | | | | | | | on March 31 won't take you to March 2 or 3 (now the result will be the last day of February.) In general, now stepping by months from the last days of the current month A will take you to the very last day of the target month B if B is shorter than A. The previous version would just step to March 31 and rely on mktime(3) to correct the date. Despite its simplicity, such way was counter-intuitive to users and caused pain to shell script writers. Noticed by: Igor Timkin <ivt at gamma dot ru> Approved by: brian MFC after: 2 weeks
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-1/+0
| | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
OpenPOWER on IntegriCloud