$ shar --version
shar - GNU sharutils 4.2.1
Produces this, in part:
# ============= cs-code.tbz ==============
if test -f 'cs-code.tbz' && test "$first_param" != -c; then
$echo 'x -' SKIPPING 'cs-code.tbz' '(file already exists)'
else
shar: Saving cs-code.tbz (binary)
$echo 'x -' extracting 'cs-code.tbz' '(binary)'
sed 's/^X//' << 'SHAR_EOF' | uudecode &&
The line after the 'else' does not work so well.
Someone tell the sharutils maintainer to fix this. :)