From: mer@netcom.com (Mr.Wiggly)
Subject: Prepend test0000.gif, part 3/3 Append
Followup-To: alt.test
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 31 Dec 1992 08:54:44 GMT

Description Body
#!/bin/sh



#
# This is a self-extracting shell archive of the binary file "test0000.gif".
# Created on Thu Dec 31 00:54:38 PST 1992 by post-bin, revision 2.2.
#
# To decode with /bin/sh, remove everything before the /bin/sh and feed
# each piece as input to /bin/sh.  When all the pieces have been

# processed, the archive will automatically concatenate the pieces and
# uudecode them to produce test0000.gif.  If successful, it will remove all
# uuencoded pieces.  Alternatively, the archive(s) may be processed with

# no editing by the unshar program.

#
# If you do not have /bin/sh or unix, you may decode by removing
# everthing before/after the lines beginning with the word BEGIN/END,
# respectively, in each piece.  Then concatenate the pieces in the proper
# order and uudecode.
#

part=3
pfile=test0000.g
file=test0000.gif

psize=3078

sed -e '/^BEGIN/d' -e '/^END/d' << \End_of_Section > $pfile.$part

BEGIN------------ test0000.gif ------------ part 3/3 ---
M0$ 0A+#_03T>7#"/1S*\,&0,&WA'%'L\!+%$E44\\3%T5GRC11]GIKEFFV_&
M648@U>6YE%3F0 895XY<LID(@A&! Y."P8,&&\BQLB)%,M*28!PZ$H$&,:'L
MZ:0[S%B))C9YJ66FFD00X8Z[R"2SS*V'4HH0-=>L)5"Y>W'Q"D$(F:=11R,%
M?*M)+26<++4T)>,W"SC)@C#1TNF-3KLL6(0%(++PU8XL:!$G$5K^4 371"3;
M-9TZ3N]LL]1S&\V>"#JQ -DQQCA-KSENG\, %&@S '9B4>G$GG0X(3[<5%)I
MO)/@LN#$'2#0Y7E(=MVE/EYX!5D@%2\$M &\:O 51U_Q*T(P_V#W"#:X/AN 
MP0^8A_V#& )7NJ 8? /52W!!C3G.8^,&0!99 /\7BKR@;&4'/!&*7L8B?N3,
M@0^$8 1GMK/H#:D4G !&3Y#1GTW, 1@(:(1/@@$1,]R@%CCX Y:HAH.-\.(&
M6=M:3\I$@Y6PI$TN>5--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PSWDPS[TPS\$Q$ 4Q$$DQ$(TQ$-$Q$14Q$5DQ$9TQ$>$Q$B4Q$FDQ$JT
MQ$O$Q$S4Q$WDQ$[TQ$\$Q5 4Q5$DQ5(TQ5-$Q514Q55DQ59TQ5>$Q5B4Q5FD
MQ5JTQ5O$Q5S4Q5WDQ5[TQ5\$QF 4QF$DQF(TQF-$QF14QF5DQF9TQF>$QFB4
MQFFDQFJTQFO$QFS4QFWDQF[TQF\$QW 4QW$DQZMR-,=S1,=T5,=U9,=V=,=W
MA,=XE,=YI,=ZM,=[Q,=\U,=]Y,=^],=_!,B %,B!),B"-,B#1,B$5,B%9,B&
M=,B'A,B(E,B)I,B*M,B+Q,B,U,B-Y,B.],B/!,F0%,F1),F2-,F31,F45,F5
M9,F6=,F7A,F8E,F9I,F:M,F;Q,F<U,F=Y,F>],F?!,J@%,JA),JB-,JC1,JD
65,JE9,JF=,JGA,JHE,JII,I2# @ .\F=
 
end
END-------------- test0000.gif ------------ part 3/3 ---
End_of_Section
size=`wc -c $pfile.$part | awk '{ print $1 }'`
if [ $size != $psize ]; then


    echo Length mismatch for uuencoded part $part \($size != $psize\).
    exit 1
fi

echo $file, part $part extracted.

if [ `echo $pfile.[0-9]* | wc -w` = 3 ]; then

    echo All uuencoded parts of $file extracted, uudecoding...
    cat $pfile.* | uudecode
    if [ $? -gt 0 ]; then
	echo Error encountered when uudecoding pieces...
	exit 1


    fi

    echo $file successfully uudecoded.  Removing uuencoded pieces.
    rm $pfile.[0-9]*
fi

exit 0
Newsgroups: alt.test