aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/shar
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-01-18 13:43:56 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-01-18 13:43:56 +0000
commit6c7216df785592bb069469113f556dfd1946ed5d (patch)
tree4ff679e02e4f5503cdcbf47f6fd1aa832ff79d14 /usr.bin/shar
parent55bf0e44752ba3432c3e4632c45263d5795e0aa9 (diff)
downloadsrc-6c7216df785592bb069469113f556dfd1946ed5d.tar.gz
src-6c7216df785592bb069469113f556dfd1946ed5d.zip
Notes
Diffstat (limited to 'usr.bin/shar')
-rw-r--r--usr.bin/shar/shar.146
1 files changed, 23 insertions, 23 deletions
diff --git a/usr.bin/shar/shar.1 b/usr.bin/shar/shar.1
index 09adc5e4c69f..1143f9cd3b7b 100644
--- a/usr.bin/shar/shar.1
+++ b/usr.bin/shar/shar.1
@@ -59,11 +59,34 @@ command is normally used for distributing files by
.Xr ftp 1
or
.Xr mail 1 .
+.Sh EXAMPLES
+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
+.Ed
+.Pp
+To recreate the program directory:
+.Bd -literal -offset indent
+mkdir ls
+cd ls
+\&...
+<delete header lines and examine mailed archive>
+\&...
+sh archive
+.Ed
.Sh SEE ALSO
.Xr compress 1 ,
.Xr mail 1 ,
.Xr tar 1 ,
.Xr uuencode 1
+.Sh HISTORY
+The
+.Nm
+command appeared in
+.Bx 4.4 .
.Sh BUGS
The
.Nm
@@ -86,26 +109,3 @@ may be easily examined with the command:
.Bd -literal -offset indent
egrep -v '^[X#]' shar.file
.Ed
-.Sh EXAMPLES
-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
-.Ed
-.Pp
-To recreate the program directory:
-.Bd -literal -offset indent
-mkdir ls
-cd ls
-\&...
-<delete header lines and examine mailed archive>
-\&...
-sh archive
-.Ed
-.Sh HISTORY
-The
-.Nm
-command appeared in
-.Bx 4.4 .