OpenBSD CVS

CVS log for src/bin/rm/rm.1


[BACK] Up to [local] / src / bin / rm

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.44 / (download) - annotate - [select for diffs], Mon Sep 2 21:18:41 2019 UTC (4 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, HEAD
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

More correction of section 3 layout. directory->opendir, fts->fts_open,
getcap->cgetent.  pwcache->user_from_uid. And then repair references.
ok jmc

Revision 1.43 / (download) - annotate - [select for diffs], Sat Mar 31 20:49:12 2018 UTC (6 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Clarify that -P only *attempts* overwriting, which may not succeed;
requested by deraadt@ after repeated questions on bugs@ and tech@,
e.g. from Gregoire Jadi and Craig Skinner.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jun 28 06:24:39 2017 UTC (6 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

add -v to SYNOPSIS and STANDARDS;

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jun 27 21:43:46 2017 UTC (6 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.40: +5 -3 lines
Diff to previous 1.40 (colored)

add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,
and present on several other systems. some ok, some less ok.
from Job Snijders

Revision 1.40 / (download) - annotate - [select for diffs], Fri Apr 15 23:09:57 2016 UTC (8 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

don't allow removal of /. more robust approach involving stat this time.
posix uses the language "resolves to the root directory" in this case.
ok millert

Revision 1.39 / (download) - annotate - [select for diffs], Tue Oct 13 04:30:53 2015 UTC (8 years, 7 months ago) by daniel
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.38: +0 -1 lines
Diff to previous 1.38 (colored)

revert previous. changes the behaviour of:
rm -f ""

Revision 1.38 / (download) - annotate - [select for diffs], Sun Oct 11 03:08:46 2015 UTC (8 years, 7 months ago) by daniel
Branch: MAIN
Changes since 1.37: +3 -2 lines
Diff to previous 1.37 (colored)

Don't allow "rm -rf /"

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@

Revision 1.37 / (download) - annotate - [select for diffs], Sun May 25 19:07:36 2014 UTC (10 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.36: +7 -23 lines
Diff to previous 1.36 (colored)

- it seems our notes that posix require rm to behave like rmdir for directories
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

Revision 1.36 / (download) - annotate - [select for diffs], Wed Sep 5 06:21:18 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

use "MS-DOS", for consistency with other docs;

Revision 1.35 / (download) - annotate - [select for diffs], Tue Sep 4 22:22:50 2012 UTC (11 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.34: +7 -12 lines
Diff to previous 1.34 (colored)

one random overwrite is sufficient, after some discussion on tech

Revision 1.34 / (download) - annotate - [select for diffs], Mon Oct 4 07:17:30 2010 UTC (13 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.33: +18 -19 lines
Diff to previous 1.33 (colored)

- rearrange STANDARDS slightly to read better
- remove a stray .Pp

Revision 1.33 / (download) - annotate - [select for diffs], Fri Sep 3 09:53:20 2010 UTC (13 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

add an EXIT STATUS section for /bin;

Revision 1.32 / (download) - annotate - [select for diffs], Sun Feb 8 17:15:09 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jun 6 00:08:57 2007 UTC (17 years ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Unlink files with multiple links when -P flag is specified instead
of just warning and skipping the file.

OK millert and jmc.

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 31 19:19:15 2007 UTC (17 years ago) by jmc
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

convert to new .Dd format;

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 29 15:04:59 2007 UTC (17 years ago) by jmc
Branch: MAIN
Changes since 1.28: +12 -7 lines
Diff to previous 1.28 (colored)

- consistent STANDARDS blurb
- note which options are extensions to POSIX

discussed w/ deraadt otto millert

Revision 1.28 / (download) - annotate - [select for diffs], Sat May 19 21:33:40 2007 UTC (17 years ago) by jmc
Branch: MAIN
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored)

simplify the description of -R; from Jeffrey 'jf' Lim

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 16 13:59:54 2007 UTC (17 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.26: +3 -4 lines
Diff to previous 1.26 (colored)

change [-f | -i] to [-fi]: although technically not as correct, it is
simpler (clearer), and matches cp(1), mv(1), posix, and even usage();

Revision 1.26 / (download) - annotate - [select for diffs], Thu Sep 21 15:14:07 2006 UTC (17 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

reword a sentence so we are not discussing lfs; help from pedro

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jun 14 19:15:35 2005 UTC (18 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.24: +2 -6 lines
Diff to previous 1.24 (colored)

whiteouts are gone

Revision 1.24 / (download) - annotate - [select for diffs], Fri Nov 21 21:04:36 2003 UTC (20 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.23: +9 -9 lines
Diff to previous 1.23 (colored)

kill comma splice; from Jared Yanovich;
also, put example description before the example, and indent example;

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 2 23:32:09 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.22: +2 -6 lines
Diff to previous 1.22 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 30 08:37:08 2003 UTC (21 years ago) by jmc
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

merge COMPATIBILITY into STANDARDS;

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 12 20:12:36 2003 UTC (21 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

more .Li

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jan 11 11:03:53 2003 UTC (21 years, 4 months ago) by hugh
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

Attempt to do something reasonable when overwrite mode is combined
with hard links, and document it. In consultation with dynamo and
approved by millert.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Sep 18 07:33:47 2002 UTC (21 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

fix Xr refs; frisco@blackant.net

Revision 1.18 / (download) - annotate - [select for diffs], Mon Feb 11 18:43:51 2002 UTC (22 years, 3 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.17: +5 -4 lines
Diff to previous 1.17 (colored)

Initial patch.
When you give command examples in a manual page prefix them with
	$ command
or
	# command

deraadt@ ok

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 24 19:21:39 2002 UTC (22 years, 4 months ago) by mickey
Branch: MAIN
Changes since 1.16: +11 -1 lines
Diff to previous 1.16 (colored)

restore a little bit of historical material

Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 21 11:41:50 2001 UTC (22 years, 5 months ago) by mpech
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Initial patch for a new mdoc issue.
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

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 13 14:00:15 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored)

o) start new sentence on a new line;
o) don't use .Pp before/after .Ss;
o) wrap long lines;
o) fix bogus .Xr usage;

millert@ ok;

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 13 21:00:05 2001 UTC (22 years, 9 months ago) by heko
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.13: +6 -0 lines
Diff to previous 1.13 (colored)

Document how to remove or rename a file that is a getopt(3) flag
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@

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 8 13:41:21 2001 UTC (23 years ago) by millert
Branch: MAIN
Changes since 1.12: +16 -3 lines
Diff to previous 1.12 (colored)

Correct STANDARDS section wrt removing directories; from FreeBSD

Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 16 22:37:05 2000 UTC (23 years, 6 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.11: +8 -3 lines
Diff to previous 1.11 (colored)

Some .Li makes this look prettier.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 9 17:52:00 2000 UTC (23 years, 6 months ago) by aaron
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Change all option list specifications to ".Bl -tag -width Ds". Most man
pages just needed their -width parameter tweaked to "Ds", which provides
a nice width of 6 constant characters. For consistency more than anything.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 18 06:55:10 2000 UTC (23 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.9: +15 -9 lines
Diff to previous 1.9 (colored)

Add some rudimentary EXAMPLES sections and standardize the way we display
existing EXAMPLES sections.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 21 14:40:14 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.8: +6 -1 lines
Diff to previous 1.8 (colored)

Add HISTORY sections; from FreeBSD. Information originally obtained from
"A Quarter Centry of UNIX, Peter H. Salus, Page 41".

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 16 18:40:03 1999 UTC (24 years, 9 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

more precise SYNOPSIS syntax

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 4 02:45:14 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 15 01:20:26 1998 UTC (25 years, 5 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.net

Revision 1.5 / (download) - annotate - [select for diffs], Sat Nov 28 03:20:35 1998 UTC (25 years, 6 months ago) by aaron
Branch: MAIN
Changes since 1.4: +8 -8 lines
Diff to previous 1.4 (colored)

start killing redundant .Nm macro arguments (mandoc ``remembers'' the first one
it's given)

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 6 00:34:09 1998 UTC (25 years, 7 months ago) by aaron
Branch: MAIN
Changes since 1.3: +5 -2 lines
Diff to previous 1.3 (colored)

use .Dq/.Sq macros instead of `` ''s and ` 's (think typesetting and future
processing); kill redundant .Pp macros; other misc fixes

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 3 21:55:31 1997 UTC (26 years, 11 months ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

There is no undelete(2) manpage.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 23 14:20:59 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

update rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:37:20 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:37:20 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.