diff options
Diffstat (limited to 'bin/cp/cp.1')
-rw-r--r-- | bin/cp/cp.1 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1 index edf1c332e93..bc8a7b78e50 100644 --- a/bin/cp/cp.1 +++ b/bin/cp/cp.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cp.1,v 1.15 2000/03/21 14:40:14 aaron Exp $ +.\" $OpenBSD: cp.1,v 1.16 2000/10/18 06:55:07 aaron Exp $ .\" $NetBSD: cp.1,v 1.9 1995/07/25 19:36:45 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993, 1994 @@ -185,26 +185,26 @@ The .Nm utility exits 0 on success or >0 if an error occurred. .Sh EXAMPLES +.Cm cp foo bar +.Pp Make a copy of file .Pa foo named -.Pa bar : +.Pa bar . .Pp -.D1 Ic cp foo bar +.Cm cp *.txt /tmp .Pp Copy a group of files to the .Pa /tmp -directory: +directory. .Pp -.D1 Ic cp *.txt /tmp +.Cm cp -R junk /tmp .Pp Copy the directory -.Pa junk , +.Pa junk and all of its contents (including any subdirectories) to the .Pa /tmp -directory: -.Pp -.D1 Ic cp -R junk /tmp +directory. .Sh COMPATIBILITY Historic versions of the .Nm |