summaryrefslogtreecommitdiffstats
path: root/bin/rm/rm.1 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* More correction of section 3 layout. directory->opendir, fts->fts_open,deraadt2019-09-021-3/+3
| | | | | getcap->cgetent. pwcache->user_from_uid. And then repair references. ok jmc
* Clarify that -P only *attempts* overwriting, which may not succeed;schwarze2018-03-311-3/+3
| | | | | requested by deraadt@ after repeated questions on bugs@ and tech@, e.g. from Gregoire Jadi and Craig Skinner.
* add -v to SYNOPSIS and STANDARDS;jmc2017-06-281-3/+3
|
* add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,tedu2017-06-271-3/+5
| | | | | and present on several other systems. some ok, some less ok. from Job Snijders
* don't allow removal of /. more robust approach involving stat this time.tedu2016-04-151-3/+3
| | | | | posix uses the language "resolves to the root directory" in this case. ok millert
* revert previous. changes the behaviour of:daniel2015-10-131-3/+2
| | | | rm -f ""
* Don't allow "rm -rf /"daniel2015-10-111-2/+3
| | | | | | | | | | | | Patch from Theo Buehler who was inspired by watching Bryan Cantrill in BSD Now 103. Minor tweak from me to turn the complained variables into flags instead of counters. "i think it's ok" tedu@ "this isn't 1980 anymore" deraadt@ ok millert@
* - it seems our notes that posix require rm to behave like rmdir for directoriesjmc2014-05-251-23/+7
| | | | | | | | | | | | is plain wrong: remove it. the note in posix spec is misleading, to be fair - most of the rest of notes in STANDARDS are really historical notes (admittedly caused by the standards i guess) so move them into HISTORY. debatable, yes, but leaves STANDARDS consistent. HISTORY is a hodge podge anyway, by neccesity. - while there, fix a sentence splice in BUGS sobrado agrees with the removal of the rmdir note; millert oks the diff
* use "MS-DOS", for consistency with other docs;jmc2012-09-051-3/+3
|
* one random overwrite is sufficient, after some discussion on techtedu2012-09-041-12/+7
|
* - rearrange STANDARDS slightly to read betterjmc2010-10-041-19/+18
| | | | - remove a stray .Pp
* add an EXIT STATUS section for /bin;jmc2010-09-031-3/+3
|
* bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc2009-02-081-4/+4
| | | | updates to follow;
* Unlink files with multiple links when -P flag is specified insteadray2007-06-061-3/+3
| | | | | | of just warning and skipping the file. OK millert and jmc.
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* - consistent STANDARDS blurbjmc2007-05-291-7/+12
| | | | | | - note which options are extensions to POSIX discussed w/ deraadt otto millert
* simplify the description of -R; from Jeffrey 'jf' Limjmc2007-05-191-3/+2
|
* change [-f | -i] to [-fi]: although technically not as correct, it isjmc2007-02-161-4/+3
| | | | simpler (clearer), and matches cp(1), mv(1), posix, and even usage();
* reword a sentence so we are not discussing lfs; help from pedrojmc2006-09-211-3/+3
|
* whiteouts are gonemillert2005-06-141-6/+2
|
* kill comma splice; from Jared Yanovich;jmc2003-11-211-9/+9
| | | | also, put example description before the example, and indent example;
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* merge COMPATIBILITY into STANDARDS;jmc2003-05-301-3/+3
|
* more .Lideraadt2003-03-121-4/+4
|
* Attempt to do something reasonable when overwrite mode is combinedhugh2003-01-111-1/+2
| | | | | with hard links, and document it. In consultation with dynamo and approved by millert.
* fix Xr refs; frisco@blackant.netderaadt2002-09-181-2/+2
|
* Initial patch.mpech2002-02-111-4/+5
| | | | | | | | | When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
* restore a little bit of historical materialmickey2002-01-241-1/+11
|
* Initial patch for a new mdoc issue.mpech2001-12-211-2/+2
| | | | | | | | | Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok
* o) start new sentence on a new line;mpech2001-11-131-3/+5
| | | | | | | | o) don't use .Pp before/after .Ss; o) wrap long lines; o) fix bogus .Xr usage; millert@ ok;
* Document how to remove or rename a file that is a getopt(3) flagheko2001-08-131-1/+7
| | | | | | to mv(1) or rm(1) by preceding it with --. From ho@: Also give a sample of the ./-f way that is more portable ok millert@, ho@
* Correct STANDARDS section wrt removing directories; from FreeBSDmillert2001-06-081-3/+16
|
* Some .Li makes this look prettier.aaron2000-11-161-3/+8
|
* Change all option list specifications to ".Bl -tag -width Ds". Most manaaron2000-11-091-2/+2
| | | | | pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
* Add some rudimentary EXAMPLES sections and standardize the way we displayaaron2000-10-181-9/+15
| | | | existing EXAMPLES sections.
* Add HISTORY sections; from FreeBSD. Information originally obtained fromaaron2000-03-211-1/+6
| | | | "A Quarter Centry of UNIX, Peter H. Salus, Page 41".
* more precise SYNOPSIS syntaxaaron1999-08-161-2/+2
|
* start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@aaron1999-06-041-5/+5
|
* always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netaaron1998-12-151-2/+2
|
* start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneaaron1998-11-281-8/+8
| | | | it's given)
* use .Dq/.Sq macros instead of `` ''s and ` 's (think typesetting and futureaaron1998-11-061-2/+5
| | | | processing); kill redundant .Pp macros; other misc fixes
* There is no undelete(2) manpage.downsj1997-07-031-2/+2
|
* update rcsidderaadt1996-06-231-0/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+157