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.
Britney Spears snatched Kevin Federline from a pregnant shar Jackson and married him in September 2004.
Char--banc, shar′-a-bang, n. a long light vehicle with transverse seats.
From Yahudia to shar (a small town in the hills) was one day's march.
shar′pener, one who sharpens; sharp′er, a trickster: a swindler: a cheat.
When we had gone about one shar (2 m.) further, always with the Afghn blackness in sight, the raid1252 was allowed.
That such children as now goe, & are under ye age of ten years, have noe other shar in ye devision, but 50.
Yo' gran'pa mean yo' pa to hev his shar' but de ole lady hol' on to uvvry thing whilst she 'bove groun'.
Oh, never mind, a plunge in the shar will set you all right.
You kin give her your shar', if you're fule enough to do it, but mine I'll keep fur myself.