diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-18 06:55:11 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-18 06:55:11 +0000 |
commit | 3e6f48209fb1159a6ceb04d1acc6f1add775fc45 (patch) | |
tree | 72ceb92bea0f90da3a9209d6929cec5ee0f1df08 /bin/cp | |
parent | a6174cd0b609f882475db2af94f6559e5a5e6ff8 (diff) |
Add some rudimentary EXAMPLES sections and standardize the way we display
existing EXAMPLES sections.
Diffstat (limited to 'bin/cp')
-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 |