summaryrefslogtreecommitdiff
path: root/bin/rm/rm.1
AgeCommit message (Collapse)Author
2017-06-28add -v to SYNOPSIS and STANDARDS;Jason McIntyre
2017-06-27add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,Ted Unangst
and present on several other systems. some ok, some less ok. from Job Snijders
2016-04-15don't allow removal of /. more robust approach involving stat this time.Ted Unangst
posix uses the language "resolves to the root directory" in this case. ok millert
2015-10-13revert previous. changes the behaviour of:Daniel Dickman
rm -f ""
2015-10-11Don't allow "rm -rf /"Daniel Dickman
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@
2014-05-25- it seems our notes that posix require rm to behave like rmdir for directoriesJason McIntyre
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
2012-09-05use "MS-DOS", for consistency with other docs;Jason McIntyre
2012-09-04one random overwrite is sufficient, after some discussion on techTed Unangst
2010-10-04- rearrange STANDARDS slightly to read betterJason McIntyre
- remove a stray .Pp
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2007-06-06Unlink files with multiple links when -P flag is specified insteadRay Lai
of just warning and skipping the file. OK millert and jmc.
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29- consistent STANDARDS blurbJason McIntyre
- note which options are extensions to POSIX discussed w/ deraadt otto millert
2007-05-19simplify the description of -R; from Jeffrey 'jf' LimJason McIntyre
2007-02-16change [-f | -i] to [-fi]: although technically not as correct, it isJason McIntyre
simpler (clearer), and matches cp(1), mv(1), posix, and even usage();
2006-09-21reword a sentence so we are not discussing lfs; help from pedroJason McIntyre
2005-06-14whiteouts are goneTodd C. Miller
2003-11-21kill comma splice; from Jared Yanovich;Jason McIntyre
also, put example description before the example, and indent example;
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-30merge COMPATIBILITY into STANDARDS;Jason McIntyre
2003-03-12more .LiTheo de Raadt
2003-01-11Attempt to do something reasonable when overwrite mode is combinedHugh Graham
with hard links, and document it. In consultation with dynamo and approved by millert.
2002-09-18fix Xr refs; frisco@blackant.netTheo de Raadt
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-01-24restore a little bit of historical materialMichael Shalayeff
2001-12-21Initial patch for a new mdoc issue.Mike Pechkin
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
2001-11-13o) start new sentence on a new line;Mike Pechkin
o) don't use .Pp before/after .Ss; o) wrap long lines; o) fix bogus .Xr usage; millert@ ok;
2001-08-13Document how to remove or rename a file that is a getopt(3) flagHeikki Korpela
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@
2001-06-08Correct STANDARDS section wrt removing directories; from FreeBSDTodd C. Miller
2000-11-16Some .Li makes this look prettier.Aaron Campbell
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
existing EXAMPLES sections.
2000-03-21Add HISTORY sections; from FreeBSD. Information originally obtained fromAaron Campbell
"A Quarter Centry of UNIX, Peter H. Salus, Page 41".
1999-08-16more precise SYNOPSIS syntaxAaron Campbell
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@Aaron Campbell
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneAaron Campbell
it's given)
1998-11-06use .Dq/.Sq macros instead of `` ''s and ` 's (think typesetting and futureAaron Campbell
processing); kill redundant .Pp macros; other misc fixes
1997-07-03There is no undelete(2) manpage.Jason Downs
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt