minix/man/man1/shar.1
2012-03-31 23:47:03 +02:00

44 lines
781 B
Groff

.TH SHAR 1
.SH NAME
shar \- shell archiver
.SH SYNOPSIS
\fBshar \fIfile ...\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH EXAMPLES
.TP 20
.B shar *.c >s
# Collect C programs in shell archive
.TP 20
.B sh <s
# Extract files from a shell archive
.SH DESCRIPTION
.PP
The named files are collected together into a shell archive written onto
standard output.
The individual files can be extracted by redirecting the shell archive into
the shell.
The advantage of
.I shar
over
.I ar
is that \fIshar\fP archives can be read on almost any
\s-2UNIX\s+2
system, whereas numerous, incompatible versions of
.I ar
are in widespread use.
Extracting the files from a shell archive requires that
.I sed
be accessible.
.SH "SEE ALSO"
.BR sh (1),
.BR unshar (1).