JargonFile/original/html/S/sharchive.html
2014-03-27 18:54:56 +00:00

18 lines
2.8 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>sharchive</title><link rel="stylesheet" href="../../jargon.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"/><link rel="home" href="../index.html" title="The Jargon File"/><link rel="up" href="../S.html" title="S"/><link rel="previous" href="shar-file.html" title="shar file"/><link rel="next" href="Share-and-enjoy-.html" title="Share and enjoy!"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">sharchive</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="shar-file.html">Prev</a> </td><th width="60%" align="center">S</th><td width="20%" align="right"> <a accesskey="n" href="Share-and-enjoy-.html">Next</a></td></tr></table><hr/></div><dt><a id="sharchive"/><dt xmlns="" id="sharchive"><b>sharchive</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="pronunciation">/shar´ki:v/</span>, <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">n.</span></dt></dt><dd><p> [Unix and Usenet; from /bin/sh archive] A
<a href="../F/flatten.html"><i class="glossterm">flatten</i></a>ed representation of a set of one or more
files, with the unique property that it can be unflattened (the original
files restored) by feeding it through a standard Unix shell; thus, a
sharchive can be distributed to anyone running Unix, and no special
unpacking software is required. Sharchives are also intriguing in that
they are typically created by shell scripts; the script that produces
sharchives is thus a script which produces self-unpacking scripts, which
may themselves contain scripts. Sharchives are also commonly referred to as
&#8216;shar files&#8217; after the name of the most common program for
generating them.</p><p>The downsides of sharchives are that they
are an ideal venue for <a href="../T/Trojan-horse.html"><i class="glossterm">Trojan horse</i></a> attacks and
that, for recipients not running Unix, no simple un-sharchiving program is
possible; sharchives can and do make use of arbitrarily-powerful shell
features. For these reasons, this technique has largely fallen out
of use since the mid-1990s. </p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="shar-file.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../S.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="Share-and-enjoy-.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">shar file </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> Share and enjoy!</td></tr></table></div></body></html>