aboutsummaryrefslogtreecommitdiff
path: root/bin/rmdir
Commit message (Collapse)AuthorAgeFilesLines
* Fix markup.Ruslan Ermilov2006-12-271-5/+7
| | | | Notes: svn path=/head/; revision=165564
* The new name for the DIAGNOSTICS section is EXIT STATUS.Tim J. Robbins2005-05-311-1/+1
| | | | | | | Noticed by: ru Notes: svn path=/head/; revision=146821
* Move information about exit status into a DIAGNOSTICS section.Tim J. Robbins2005-05-291-1/+1
| | | | Notes: svn path=/head/; revision=146735
* Remove useless errno.h include.Suleiman Souhlal2005-01-261-1/+0
| | | | | | | | Approved by: grehan (mentor) Obtained from: DragonFlyBSD Notes: svn path=/head/; revision=140851
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-101-0/+1
| | | | Notes: svn path=/head/; revision=139969
* Do not emit a spurious warning when "directory" argumentRuslan Ermilov2004-11-201-1/+3
| | | | | | | to "rmdir -p" is absolute, with one or more leading slash. Notes: svn path=/head/; revision=137902
* Fixed "rmdir -p" that got broken by rev. 1.15.Ruslan Ermilov2004-11-201-6/+5
| | | | | | | (This also fixes "rmdir -v /nonexistent".) Notes: svn path=/head/; revision=137901
* Added -v to usage().Ruslan Ermilov2004-05-161-1/+1
| | | | Notes: svn path=/head/; revision=129285
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-062-8/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Add a -v (verbose) option.Dag-Erling Smørgrav2004-03-212-13/+26
| | | | Notes: svn path=/head/; revision=127257
* Quiet warnings about copyright[].David E. O'Brien2003-05-011-2/+2
| | | | Notes: svn path=/head/; revision=114433
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+2
| | | | Notes: svn path=/head/; revision=99110
* o __P has been reovedWarner Losh2002-02-021-9/+5
| | | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Notes: svn path=/head/; revision=90110
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-2/+0
| | | | | | | | | set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87323
* WARNS= -> WARNS?=Dima Dorfman2001-06-221-1/+1
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78624
* Silence WARNS=2 and BDECFLAGS on alpha and i386Kris Kennaway2001-05-202-0/+3
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=76880
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68935
* Fix the rmdir -p a/b/c/ case, where rmdir -p a/b/c works, and rmdir c/Neil Blakey-Milner2000-06-281-0/+4
| | | | | | | | | | | works. PR: PR 6521 Submitted by: Rudolf Cejka <xcejka00@dcse.fee.vutbr.cz> Reviewed by: eivind (in brief retrograde) Notes: svn path=/head/; revision=62213
* $Id$ -> $FreeBSD$Peter Wemm1999-08-273-3/+3
| | | | Notes: svn path=/head/; revision=50471
* Correct use of .Nm. Add rcsid.Philippe Charnier1998-05-182-9/+13
| | | | Notes: svn path=/head/; revision=36149
* Don't strip trailing slashes (for the initial rmdir). It breaksBruce Evans1997-12-191-9/+1
| | | | | | | | | | | | | | | | | | | | following of the symlink for `rmdir symlink/' and is unnecessary for ordinary directories (POSIX doesn't require rmdir(1) to do anything for trailing slashes; it requires rmdir(2) to let them "refer to a directory", and following the symlink for symlink/ is what BSD does). This also fixes bugs in the slash-stripping code (for paths consisting entirely of slashes, the pointer into the string was decremented to "before" the beginning of the string, and the path was at best stripped to "". The behaviour is unchanged except for the final directory for `rmdir -p ...'. There is no alternative to stripping intermediate slashes since they must be specified. The sloppy slash-stripping code is adequate for intermediate directories, since the all-slashes case fails early. Notes: svn path=/head/; revision=31862
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24348
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* -Wall cleaning and implement -p commandline option.Steve Price1996-12-142-23/+61
| | | | | | | -p mod obtained from: NetBSD Notes: svn path=/head/; revision=20422
* [HISTORY] command appeared in Version 1 AT&T UNIXWolfram Schneider1996-08-291-1/+6
| | | | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 Notes: svn path=/head/; revision=17891
* Added $Id$David Greenman1994-09-243-0/+4
| | | | Notes: svn path=/head/; revision=3044
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-263-0/+183
Notes: svn path=/head/; revision=1556