SHELL(1L)

NAME
shell - Interpreter for shell archives

SYNOPSIS
    shell [ -v ] [ file [parameters] ]

DESCRIPTION
This program interprets enough /bin/sh(1) syntax, and common command usage, to enable it to unpack many different types of UNIX shell archives, or ``shar's.'' It is primarily intended to be used on non-UNIX systems that need to unpack such archives.

Shell does some security checking, but to believe that it will protect against all trojan horses is probably naive.

The program's parser is line-based, where lines are then split into tokens; it is not a true token-based parser. In general, it is best if all /bin/sh keywords that can appear alone on a line do so, and that compound commands (i.e., using a semi-colon) be avoided. For more details on the syntax, see the source (sorry...).

The ``-v'' option prints out the current version and exits.

BUGS
It is probably easier to write a true portable replacement for /bin/sh than it is to write something which understands all shar formats.

SEE ALSO
shar(1L).