Rev | Line | |
---|
[9] | 1 | .TH SHAR 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | shar \- shell archiver
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBshar \fIfile ...\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH EXAMPLES
|
---|
| 18 | .EX "shar *.c >s" "Collect C programs in shell archive"
|
---|
| 19 | .EX "sh <s" "Extract files from a shell archive"
|
---|
| 20 | .SH DESCRIPTION
|
---|
| 21 | .PP
|
---|
| 22 | The named files are collected together into a shell archive written onto
|
---|
| 23 | standard output.
|
---|
| 24 | The individual files can be extracted by redirecting the shell archive into
|
---|
| 25 | the shell.
|
---|
| 26 | The advantage of
|
---|
| 27 | .I shar
|
---|
| 28 | over
|
---|
| 29 | .I ar
|
---|
| 30 | is that \fIshar\fP archives can be read on almost any
|
---|
| 31 | \s-2UNIX\s+2
|
---|
| 32 | system, whereas numerous, incompatible versions of
|
---|
| 33 | .I ar
|
---|
| 34 | are in widespread use.
|
---|
| 35 | Extracting the files from a shell archive requires that
|
---|
| 36 | .I sed
|
---|
| 37 | be accessible.
|
---|
| 38 | .SH "SEE ALSO"
|
---|
| 39 | .BR sh (1),
|
---|
| 40 | .BR unshar (1).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.