summaryrefslogtreecommitdiffstats
path: root/usr.bin/shar/shar.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/shar/shar.1')
-rw-r--r--usr.bin/shar/shar.127
1 files changed, 16 insertions, 11 deletions
diff --git a/usr.bin/shar/shar.1 b/usr.bin/shar/shar.1
index 9a5fe4b..b85f7ce 100644
--- a/usr.bin/shar/shar.1
+++ b/usr.bin/shar/shar.1
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)shar.1 8.1 (Berkeley) 6/6/93
+.\" $Id$
.\"
.Dd June 6, 1993
.Dt SHAR 1
@@ -40,8 +41,9 @@
.Sh SYNOPSIS
.Nm shar Ar
.Sh DESCRIPTION
-.Nm Shar
-writes an
+The
+.Nm
+command writes a
.Xr sh 1
shell script to the standard output which will recreate the file
hierarchy specified by the command line operands.
@@ -50,8 +52,9 @@ files they contain (the
.Xr find 1
utility does this correctly).
.Pp
-.Nm Shar
-is normally used for distributing files by
+The
+.Nm
+command is normally used for distributing files by
.Xr ftp 1
or
.Xr mail 1 .
@@ -61,21 +64,23 @@ or
.Xr tar 1 ,
.Xr uuencode 1
.Sh BUGS
-.Nm Shar
-makes no provisions for special types of files or files containing
+The
+.Nm
+command makes no provisions for special types of files or files containing
magic characters.
-.Nm Shar
-cannot handle files without a newline ('\\n')
+The
+.Nm
+command cannot handle files without a newline ('\\n')
as the last character.
.Pp
It is easy to insert trojan horses into
-.Nm shar
+.Nm
files.
It is strongly recommended that all shell archive files be examined
before running them through
.Xr sh 1 .
Archives produced using this implementation of
-.Nm shar
+.Nm
may be easily examined with the command:
.Bd -literal -offset indent
egrep -v '^[X#]' shar.file
@@ -101,5 +106,5 @@ sh archive
.Sh HISTORY
The
.Nm
-command appears in
+command appeared in
.Bx 4.4 .
OpenPOWER on IntegriCloud