.\" Copyright (c) 1990 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)shar.1 5.5 (Berkeley) %G%
.Nd create a shell archive of files
shell script to the standard output which will recreate the file
hierarchy specified by the command line operands.
Directories will be recreated and must be specified before the
utility does this correctly).
is normally used for distributing files by
makes no provisions for special types of files or files containing
It is easy to insert trojan horses into
It is strongly recommended that all shell archive files be examined
before running them through
Archives produced using this implementation of
may be easily examined with the command:
.Bd -literal -offset indent
egrep -v '^[X#]' shar.file
To create a shell archive of the program
.Bd -literal -offset indent
shar `find . -print` \&| mail -s "ls source" rick
To recreate the program directory:
.Bd -literal -offset indent
<delete header lines and examine mailed archive>