shar


Also found in: Acronyms, Wikipedia.

shar

(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.
References in periodicals archive ?
The injured were rushed to Chandka Medical College Hospital where Liaquat Ali Shar (45) succumbed to his injuries, while the conditions
He informed that the terrorists were residing in a house of Orush colony Nawan Shar and were paying 60,000 rupees rent per month.
Shar said that he was in regular contact with the party leaders and workers and was assuring them that the PML-N would remain strong and would further strengthen its position in Sindh.
GHOTKI -- Three, including a young girl, her teenage brother and a cousin were killed on Friday while another child got injured as a mortar shell exploded at village Umer Shar near Ubauro town of Ghotki district.
GHOTKI: Three, including a young girl, her teenage brother and a cousin were killed on Friday while another child got injured as a mortar shell exploded at village Umer Shar near Ubauro town of Ghotki district.
SHIKARPUR -- A Jatoi tribesmen was gunned down in Katcha area of Khanpur while a married woman killed when a few unknown armed assailants believed to be Shar community attacked the house at village Abdul Rahman Shar next to Garhi Yasin over an old ongoing dispute in a separate incident in the jurisdiction of Napar-Kot and Garhi Yasin Police Stations, respectively, on Saturday.
Major organization : SATISH DHAWAN SPACE CENTRE (SHAR)
The MPA belonging to the Pakistan Tehreek-i-Insaf (PTI), Shaharyar Shar, met Grand Democratic Alliance (GDA) MPA Sardar Ali Gohar Mahar the other day at Gohar Palace, in Khangarh of Ghotki district, and assured full support to the independent candidate contesting election on NA-205 (Ghotki), Sardar Ahmed Ali Mahar, son of late Sardar Ali Mohammad Khan Mahar, former Sindh chief minister and federal minister for narcotics control.
KUMB -- A few unidentified armed men entered the homes of Rashid Shar, Sadam Shar and Sikandar Solangi in three different villages including Qaim Khan Solangi, Mir Muhammad Shar and Qaim Ali Shar on early Tuesday morning.
However, Manny Shar, the head of analytics for Bryce Space and Technology, doubted Musk's altruistic intentions with the Starlink project.
According to the correspondent of Mirror Naseerabad, unknown armed attacker opend staraight firing on the daughter and son of Sardar Abdul Sattar Shar at Goth Sardar Allah Waraya Shar.
Summary: New Delhi [India], May 12 (ANI): Indian Space Research Organisation (ISRO) is all set to launch RISAT-2B, a Radar imaging earth observation satellite from the First Launch Pad (FLP) of Satish Dhawan Space Centre (SDSC) SHAR, Sriharikota.