Files
oldlinux-files/Minix/2.0.0/wwwman/man1/shar.1.html
2024-02-19 00:21:39 -05:00

72 lines
1.2 KiB
HTML

<HTML>
<HEAD>
<TITLE>shar(1)</TITLE>
</HEAD>
<BODY>
<H1>shar(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
shar - shell archiver
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>shar</STRONG> <EM>file</EM> ...
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>shar</STRONG> <STRONG>*.c</STRONG> <STRONG>&gt;s</STRONG> # Collect C programs in shell archive
<STRONG>sh</STRONG> <STRONG>&lt;s</STRONG> # Extract files from a shell archive
</PRE>
<H2>DESCRIPTION</H2><PRE>
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 <EM>shar</EM> over <EM>ar</EM> is that
<EM>shar</EM> archives can be read on almost any UNIX system, whereas numerous,
incompatible versions of <EM>ar</EM> are in widespread use. Extracting the files
from a shell archive requires that <EM>sed</EM> be accessible.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man1/sh.1.html">sh(1)</A></STRONG>, <STRONG><A HREF="../man1/unshar.1.html">unshar(1)</A></STRONG>.
</PRE>
</BODY>
</HTML>