summaryrefslogtreecommitdiff
path: root/usr.bin/shar/shar.1
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-02-13 08:33:48 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-02-13 08:33:48 +0000
commita8fb8f9ebf32aff41a70181d19a47536b6fab9ea (patch)
tree1625f6fb5edcc9ba80dcfe569d4c16bdbaa7a2bf /usr.bin/shar/shar.1
parent31d6a75fd8f76d3ed955982e59df4729dcfb1d2e (diff)
When you give command examples and etc., in a manual page prefix them with:
$ command or # command deraadt@ ok
Diffstat (limited to 'usr.bin/shar/shar.1')
-rw-r--r--usr.bin/shar/shar.114
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/shar/shar.1 b/usr.bin/shar/shar.1
index cc517dada7e..6b1e2ff1122 100644
--- a/usr.bin/shar/shar.1
+++ b/usr.bin/shar/shar.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: shar.1,v 1.6 2000/03/10 20:17:52 aaron Exp $
+.\" $OpenBSD: shar.1,v 1.7 2002/02/13 08:33:47 mpech Exp $
.\" $NetBSD: shar.1,v 1.4 1995/08/18 14:55:40 pk Exp $
.\"
.\" Copyright (c) 1990, 1993
@@ -63,18 +63,18 @@ To create a shell archive of the program
.Xr ls 1
and mail it to Rick:
.Bd -literal -offset indent
-cd ls
-shar `find . -print` \&| mail -s "ls source" rick
+$ cd ls
+$ shar `find . -print` \&| mail -s "ls source" rick
.Ed
.Pp
To recreate the program directory:
.Bd -literal -offset indent
-mkdir ls
-cd ls
+$ mkdir ls
+$ cd ls
\&...
<delete header lines and examine mailed archive>
\&...
-sh archive
+$ sh archive
.Ed
.Sh SEE ALSO
.Xr compress 1 ,
@@ -101,5 +101,5 @@ Archives produced using this implementation of
.Nm shar
may be easily examined with the command:
.Bd -literal -offset indent
-egrep -v '^[X#]' shar.file
+$ egrep -v '^[X#]' shar.file
.Ed