Dictionary: A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z


tool, file format
(“Shell archive”, after ar and tar) Any of the many Unix programs that creates a flattened representation of one or more files, with the unique property that it can be unflattened (the original files extracted) merely by feeding it through a standard Unix shell. The output of shar, known as a “shar file” or “sharchive”, can be distributed to anyone running Unix, and no special unpacking software is required.
Sharchives are 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. The disadvantage of sharchives are that they are an ideal venue for Trojan horse 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 and other Unix commands.
Different implementations of shar vary in sophistication. Some just uuencode each input file and output commands to uudecode the result, others include extensive checking to make sure the files have been transferred without corruption and that all parts of a multi-file sharchive have been unpacked.
The unshar utility strips off mail and news headers before passing the remainder of its input to sh.


Read Also:

  • Shara

    noun, plural Sharas (especially collectively) Shara. 1. Sharra.

  • Sharable

    noun 1. the full or proper portion or part allotted or belonging to or contributed or owed by an individual or group. 2. one of the equal fractional parts into which the capital stock of a joint-stock company or a corporation is divided. 3. Digital Technology. a digital file or document that can be accessed […]

  • Sharaim

    two gates (Josh. 15:36), more correctly Shaaraim (1 Sam. 17:52), probably Tell Zakariya and Kefr Zakariya, in the valley of Elah, 3 1/2 miles north-west of Socoh.

  • Sharaku

    noun 1. Tashusai [taw-shoo-sahy] /ˈtɔ ʃʊˈsaɪ/ (Show IPA), flourished 18th century, Japanese printmaker.

Disclaimer: Shar definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.