summaryrefslogtreecommitdiffstats
path: root/bin/cp
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>1999-05-08 10:22:15 +0000
committerkris <kris@FreeBSD.org>1999-05-08 10:22:15 +0000
commit713dd62834d401cc7b9b394a4b916ab9e5e3d4d5 (patch)
tree697ce44b4cebcd3432c5b00049fc0a58ac8d3742 /bin/cp
parente45752d185f905fa5c6f91dd4d4622f62c6246f7 (diff)
downloadFreeBSD-src-713dd62834d401cc7b9b394a4b916ab9e5e3d4d5.zip
FreeBSD-src-713dd62834d401cc7b9b394a4b916ab9e5e3d4d5.tar.gz
Various spelling/formatting changes.
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
Diffstat (limited to 'bin/cp')
-rw-r--r--bin/cp/cp.19
-rw-r--r--bin/cp/cp.c4
-rw-r--r--bin/cp/utils.c4
3 files changed, 9 insertions, 8 deletions
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1
index 000f2ca..b9d047e 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.10 1998/05/06 06:50:19 charnier Exp $
+.\" $Id: cp.1,v 1.11 1998/10/13 08:52:29 jkoshy Exp $
.\"
.Dd April 18, 1994
.Dt CP 1
@@ -197,9 +197,10 @@ 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.
-.Pp
-.Nm Cp
-exits 0 on success, >0 if an error occurred.
+.Sh DIAGNOSTICS
+The
+.Nm
+utility exits 0 on success, and >0 if an error occurs.
.Sh COMPATIBILITY
Historic versions of the
.Nm
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index e3ddbfa..e873d4d 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -45,7 +45,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
#endif
static const char rcsid[] =
- "$Id: cp.c,v 1.17 1998/06/09 13:42:51 dt Exp $";
+ "$Id: cp.c,v 1.18 1999/04/25 21:13:32 imp Exp $";
#endif /* not lint */
/*
@@ -286,7 +286,7 @@ copy(argv, type, fts_options)
* is the case where the target exists.
*
* Also, check for "..". This is for correct path
- * concatentation for paths ending in "..", e.g.
+ * concatenation for paths ending in "..", e.g.
* cp -R .. /tmp
* Paths ending in ".." are changed to ".". This is
* tricky, but seems the easiest way to fix the problem.
diff --git a/bin/cp/utils.c b/bin/cp/utils.c
index 9118efc..162a446 100644
--- a/bin/cp/utils.c
+++ b/bin/cp/utils.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)utils.c 8.3 (Berkeley) 4/1/94";
#endif
static const char rcsid[] =
- "$Id: utils.c,v 1.21 1998/11/18 11:47:45 bde Exp $";
+ "$Id: utils.c,v 1.22 1999/04/25 21:13:32 imp Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -171,7 +171,7 @@ copy_file(entp, dne)
/*
* Don't remove the target even after an error. The target might
* not be a regular file, or its attributes might be important,
- * or its contents might be irreplacable. It would only be safe
+ * or its contents might be irreplaceable. It would only be safe
* to remove it if we created it and its length is 0.
*/
OpenPOWER on IntegriCloud