diff options
author | ru <ru@FreeBSD.org> | 2005-01-18 13:43:56 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-01-18 13:43:56 +0000 |
commit | 7f3c7f0d461522fe0390e72d21fa729bed8807bf (patch) | |
tree | 4ff679e02e4f5503cdcbf47f6fd1aa832ff79d14 /usr.bin/shar | |
parent | 8e249383f9b2938ac2233decd80969cc4cd3c59e (diff) | |
download | FreeBSD-src-7f3c7f0d461522fe0390e72d21fa729bed8807bf.zip FreeBSD-src-7f3c7f0d461522fe0390e72d21fa729bed8807bf.tar.gz |
Sort sections.
Diffstat (limited to 'usr.bin/shar')
-rw-r--r-- | usr.bin/shar/shar.1 | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/usr.bin/shar/shar.1 b/usr.bin/shar/shar.1 index 09adc5e..1143f9c 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 . |