Article 19.2 explained how to extract files from a shell archive by executing it as a shell script with sh. There are a few drawbacks to this. One of them is that shar files are often sent through email, and have an email header ahead of shell commands. One can strip out the header manually after saving the file - but why bother?
|shar||The unshar program, which is distributed with shar on the CD-ROM, is more intelligent about ignoring leading garbage and checking out the shar file for problems.|