aboutsummaryrefslogtreecommitdiff
path: root/bin/cp
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>1998-10-13 08:52:29 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>1998-10-13 08:52:29 +0000
commit22f665338145c423bbb908c71150ed59b4141c70 (patch)
tree6bf224c616e991f667b39073bb014c012d429af5 /bin/cp
parent4216dc7f845fac8ab8701f501182f9a76480c87b (diff)
downloadsrc-22f665338145c423bbb908c71150ed59b4141c70.tar.gz
src-22f665338145c423bbb908c71150ed59b4141c70.zip
Correct a grammatical nit and remove ambiguity about the effect of
the -p option. PR: 8229 Submitted-by: Sheldon Hearn <axl@iafrica.com>
Notes
Notes: svn path=/head/; revision=40288
Diffstat (limited to 'bin/cp')
-rw-r--r--bin/cp/cp.110
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1
index 91bfcd7ba067..000f2cab3676 100644
--- a/bin/cp/cp.1
+++ b/bin/cp/cp.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
-.\" $Id: cp.1,v 1.9 1997/02/22 14:01:32 peter Exp $
+.\" $Id: cp.1,v 1.10 1998/05/06 06:50:19 charnier Exp $
.\"
.Dd April 18, 1994
.Dt CP 1
@@ -143,13 +143,15 @@ be preserved, the set group ID bit is not preserved
in the copy's permissions.
If the source file has both its set user ID and set group ID bits on,
and either the user ID or group ID cannot be preserved, neither
-the set user ID or set group ID bits are preserved in the copy's
+the set user ID nor set group ID bits are preserved in the copy's
permissions.
.El
.Pp
For each destination file that already exists, its contents are
-overwritten if permissions allow, but its mode, user ID, and group
-ID are unchanged.
+overwritten if permissions allow. Its mode, user ID, and group
+ID are unchanged unless the
+.Fl p
+option was specified.
.Pp
In the second synopsis form,
.Ar target_directory