Module Name:    src
Committed By:   apb
Date:           Tue Dec 17 09:54:08 UTC 2013

Modified Files:
        src/bin/chmod: chmod.1
        src/bin/cp: cp.1
        src/sbin/chown: chgrp.1 chown.8
        src/usr.bin/chflags: chflags.1

Log Message:
In all man pages that say:

    The -H, -L and -P options are ignored unless the -R option is
    specified.  In addition, these options override each other and the
    command's actions are determined by the last one specified.

Add:

    The default is as if the -P option had been specified.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/bin/chmod/chmod.1
cvs rdiff -u -r1.42 -r1.43 src/bin/cp/cp.1
cvs rdiff -u -r1.5 -r1.6 src/sbin/chown/chgrp.1
cvs rdiff -u -r1.6 -r1.7 src/sbin/chown/chown.8
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/chflags/chflags.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/chmod/chmod.1
diff -u src/bin/chmod/chmod.1:1.24 src/bin/chmod/chmod.1:1.25
--- src/bin/chmod/chmod.1:1.24	Mon Oct 22 17:47:06 2012
+++ src/bin/chmod/chmod.1	Tue Dec 17 09:54:08 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: chmod.1,v 1.24 2012/10/22 17:47:06 christos Exp $
+.\"	$NetBSD: chmod.1,v 1.25 2013/12/17 09:54:08 apb Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -106,6 +106,9 @@ options are ignored unless the
 option is specified.
 In addition, these options override each other and the
 command's actions are determined by the last one specified.
+The default is as if the
+.Fl P
+option had been specified.
 .Pp
 Only the owner of a file or the super-user is permitted to change
 the mode of a file.

Index: src/bin/cp/cp.1
diff -u src/bin/cp/cp.1:1.42 src/bin/cp/cp.1:1.43
--- src/bin/cp/cp.1:1.42	Sun Mar 25 22:37:08 2012
+++ src/bin/cp/cp.1	Tue Dec 17 09:54:08 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: cp.1,v 1.42 2012/03/25 22:37:08 wiz Exp $
+.\"	$NetBSD: cp.1,v 1.43 2013/12/17 09:54:08 apb Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -213,6 +213,9 @@ options are ignored unless the
 option is specified.
 In addition, these options override each other and the
 command's actions are determined by the last one specified.
+The default is as if the
+.Fl P
+option had been specified.
 .Sh EXIT STATUS
 .Ex -std cp
 .Sh COMPATIBILITY

Index: src/sbin/chown/chgrp.1
diff -u src/sbin/chown/chgrp.1:1.5 src/sbin/chown/chgrp.1:1.6
--- src/sbin/chown/chgrp.1:1.5	Mon Oct 22 18:02:26 2012
+++ src/sbin/chown/chgrp.1	Tue Dec 17 09:54:08 2013
@@ -29,7 +29,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)chgrp.1	8.3 (Berkeley) 3/31/94
-.\"	$NetBSD: chgrp.1,v 1.5 2012/10/22 18:02:26 christos Exp $
+.\"	$NetBSD: chgrp.1,v 1.6 2013/12/17 09:54:08 apb Exp $
 .\"
 .Dd October 22, 2012
 .Dt CHGRP 1
@@ -118,6 +118,9 @@ options are ignored unless the
 option is specified.
 In addition, these options override each other and the
 command's actions are determined by the last one specified.
+The default is as if the
+.Fl P
+option had been specified.
 .Pp
 The
 .Ar group

Index: src/sbin/chown/chown.8
diff -u src/sbin/chown/chown.8:1.6 src/sbin/chown/chown.8:1.7
--- src/sbin/chown/chown.8:1.6	Tue Oct 23 17:30:59 2012
+++ src/sbin/chown/chown.8	Tue Dec 17 09:54:08 2013
@@ -26,7 +26,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)chown.8	8.3 (Berkeley) 3/31/94
-.\"	$NetBSD: chown.8,v 1.6 2012/10/23 17:30:59 wiz Exp $
+.\"	$NetBSD: chown.8,v 1.7 2013/12/17 09:54:08 apb Exp $
 .\"
 .Dd October 22, 2012
 .Dt CHOWN 8
@@ -104,6 +104,9 @@ options are ignored unless the
 option is specified.
 In addition, these options override each other and the
 command's actions are determined by the last one specified.
+The default is as if the
+.Fl P
+option had been specified.
 .Pp
 The
 .Fl L

Index: src/usr.bin/chflags/chflags.1
diff -u src/usr.bin/chflags/chflags.1:1.23 src/usr.bin/chflags/chflags.1:1.24
--- src/usr.bin/chflags/chflags.1:1.23	Wed Dec 12 13:30:06 2012
+++ src/usr.bin/chflags/chflags.1	Tue Dec 17 09:54:08 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: chflags.1,v 1.23 2012/12/12 13:30:06 wiz Exp $
+.\"	$NetBSD: chflags.1,v 1.24 2013/12/17 09:54:08 apb Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -116,6 +116,9 @@ options are ignored unless the
 option is specified.
 In addition, these options override each other and the
 command's actions are determined by the last one specified.
+The default is as if the
+.Fl P
+option had been specified.
 .Pp
 The
 .Fl o

Reply via email to