Print this page
12745 man page typos

@@ -43,15 +43,14 @@
 .\" Copyright 1989 AT&T
 .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved
 .\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved
 .\" Copyright 2013 Nexenta Systems, Inc. All rights reserved.
 .\"
-.TH CP 1 "Apr 15, 2013"
+.TH CP 1 "May 17, 2020"
 .SH NAME
 cp \- copy files
 .SH SYNOPSIS
-.LP
 .nf
 \fB/usr/bin/cp\fR [\fB-afip@/\fR] \fIsource_file\fR \fItarget_file\fR
 .fi
 
 .LP

@@ -88,12 +87,10 @@
 .nf
 \fB/usr/xpg4/bin/cp\fR [\fB-R\fR | \fB-R\fR [\fB-H\fR | \fB-L\fR | \fB-P\fR]] [\fB-afip@/\fR] \fIsource_dir\fR... \fItarget\fR
 .fi
 
 .SH DESCRIPTION
-.sp
-.LP
 In the first synopsis form, neither \fIsource_file\fR nor \fItarget_file\fR are
 directory files, nor can they have the same name. The \fBcp\fR utility copies
 the contents of \fIsource_file\fR to the destination path named by
 \fItarget_file\fR. If \fItarget_file\fR exists, \fBcp\fR overwrites its
 contents, but the mode (and \fBACL\fR if applicable), owner, and group

@@ -119,12 +116,10 @@
 In the third or fourth synopsis forms, one or more directories specified by
 \fIsource_dir\fR are copied to the directory specified by \fItarget\fR. Either
 the \fB-r\fR or \fB-R\fR must be specified. For each \fIsource_dir\fR, \fBcp\fR
 copies all files and subdirectories.
 .SH OPTIONS
-.sp
-.LP
 The following options are supported for both \fB/usr/bin/cp\fR and
 \fB/usr/xpg4/bin/cp\fR:
 .sp
 .ne 2
 .na

@@ -270,12 +265,10 @@
 .LP
 Specifying more than one of the mutually-exclusive options \fB-H\fR, \fB-L\fR,
 and \fB-P\fR is not considered an error. The last option specified determines
 the behavior of the utility.
 .SS "/usr/bin/cp"
-.sp
-.LP
 If the \fB-p\fR option is specified with either the \fB-@\fR option or the
 \fB-/\fR option, \fB/usr/bin/cp\fR behaves as follows
 .RS +4
 .TP
 .ie t \(bu

@@ -289,14 +282,12 @@
 .el o
 When both \fB-p\fR and \fB-/\fR are specified in any order, the copy fails if
 extended system attributes cannot be copied.
 .RE
 .SS "/usr/xpg4/bin/cp"
-.sp
-.LP
 If the \fB-p\fR option is specified with either the \fB-@\fR option or the
-\fB-/\fR option, /\fBusr/xpg4/bin/cp\fR behaves as follows:
+\fB-/\fR option, \fB/usr/xpg4/bin/cp\fR behaves as follows:
 .RS +4
 .TP
 .ie t \(bu
 .el o
 When both \fB-p\fR and \fB-@\fR are specified, the last option specified

@@ -309,12 +300,10 @@
 When both \fB-p\fR and \fB-/\fR are specified, the last option specified
 determines whether the copy fails if extended system attributes cannot be
 preserved.
 .RE
 .SH OPERANDS
-.sp
-.LP
 The following operands are supported:
 .sp
 .ne 2
 .na
 \fB\fIsource_file\fR\fR

@@ -350,16 +339,13 @@
 .RS 15n
 A pathname of a directory to contain the copied files.
 .RE
 
 .SH USAGE
-.sp
-.LP
 See \fBlargefile\fR(5) for the description of the behavior of \fBcp\fR when
 encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
 .SH EXAMPLES
-.LP
 \fBExample 1 \fRCopying a File
 .sp
 .LP
 The following example copies a file:
 

@@ -460,12 +446,10 @@
 .fi
 .in -2
 .sp
 
 .SH ENVIRONMENT VARIABLES
-.sp
-.LP
 See \fBenviron\fR(5) for descriptions of the following environment variables
 that affect the execution of \fBcp\fR: \fBLANG\fR, \fBLC_ALL\fR,
 \fBLC_COLLATE\fR, \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
 .sp
 .LP

@@ -476,12 +460,10 @@
 elements used in the expression defined for \fByesexpr\fR. The locale specified
 in \fBLC_CTYPE\fR determines the locale for interpretation of sequences of
 bytes of text data a characters, the behavior of character classes used in the
 expression defined for the \fByesexpr\fR. See \fBlocale\fR(5).
 .SH EXIT STATUS
-.sp
-.LP
 The following exit values are returned:
 .sp
 .ne 2
 .na
 \fB\fB0\fR\fR

@@ -498,17 +480,12 @@
 .RS 6n
 An error occurred.
 .RE
 
 .SH ATTRIBUTES
-.sp
-.LP
 See \fBattributes\fR(5) for descriptions of the following attributes:
 .SS "/usr/bin/cp"
-.sp
-
-.sp
 .TS
 box;
 c | c
 l | l .
 ATTRIBUTE TYPE  ATTRIBUTE VALUE

@@ -517,13 +494,10 @@
 _
 Interface Stability     Committed
 .TE
 
 .SS "/usr/xpg4/bin/cp"
-.sp
-
-.sp
 .TS
 box;
 c | c
 l | l .
 ATTRIBUTE TYPE  ATTRIBUTE VALUE

@@ -532,18 +506,14 @@
 _
 Interface Stability     Committed
 .TE
 
 .SH SEE ALSO
-.sp
-.LP
 \fBchmod\fR(1), \fBchown\fR(1), \fBsetfacl\fR(1), \fButime\fR(2),
 \fBfgetattr\fR(3C), \fBattributes\fR(5), \fBenviron\fR(5), \fBfsattr\fR(5),
 \fBlargefile\fR(5), \fBlocale\fR(5), \fBstandards\fR(5)
 .SH NOTES
-.sp
-.LP
 The permission modes of the source file are preserved in the copy.
 .sp
 .LP
 A \fB--\fR permits the user to mark the end of any command line options
 explicitly, thus allowing \fBcp\fR to recognize filename arguments that begin