From: mer@netcom.com (Mike Romero)
Subject: Prepend test.gif, part 5/5 Append
Followup-To: alt.test
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Fri, 18 Dec 1992 04:01:19 GMT

Description:
Filename:
File Type:
Origin:

#!/bin/sh
part=5
pfile=test.gif
file=test.gif

psize=9250

sed -e '/^BEGIN/d' -e '/^END/d' << \End_of_Section > $pfile.$part
BEGIN------------ test.gif ------------ part 5/5 ---
M ^Y:V:I+#8>(@Q,>_H$'1E2"$IC@A/E0L0I6N&(4G'#+)V2AE#,I@JQ+/H0<
M\H,G+6!2"C-3PA&(,%[P!D$R/\C9$&)>A"(DH0E1R$(9\% )6!R7%K68UW%C
M(0DX>.4+>QK4Q:Z !77NA2], (P0A!"$'^P@!SKX0 80+$L%FT83G/@$*#(A
M"#BP6PUJ6$,?86T=F1[P#&,P")X<\A"#B(%A0^R?KWHY!6E: 0I1J (5I$"%
MX%@L(MI)(ASB$(=4'Z_2?0 $&KR@>#FLX0S4 L,<'J^(1#SB$8YPQ$@D48A"
M^"%Z?)A$PU'QAS@4H@YC>(.!F&K$U]-A#X((*X?:L!TO:R$)5)AS!55Q_HE2
MP((4DUB$(?K0U#>HP0QAV!-V 9_?/F6A^H324Q<@NUC]*<@.?B $(R3Q<%",
MPA1D2L4I,&$(0N3;CWY\ ^/QP"$VV"<Y\)=#<U:H!C"48?+'2_52/9Z10 (D
M2,)59$(F> (";@(E3((J))NR6= W^)NW] $F8$(61,&S!<.H\,(MB%!/L(8E
M2$(B"$D*V<'A %*=U,\0K9O]%)&;E%U4V8=,?8H2W<=4'1X:M$$<]($E=$(G
M'((=&)#%]!L%<@3 "9P28A%,S)(:=)$35((C9$4B' (B-((IJ(*7N (MT((M
MW((ML)<LN (H!,(=D)U"! K)9=<3T,U_!082_\R<;0"!U %!$+3<'0K!>!G!
M;^S=%B'")\R"+-Q"+<C+<;V7*Q#"';3!KAS*GE2?.DE!BUD-RA4!*OV #MC 
M!G" &R08UWW#*&2")>C!&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B%
MD1>%L1B-\1B1\1:),1F9L1F=T1=-$16E<;N^P16K$1B7\1IQ41N?L1L!8!F_
ML1;!,1RQ41O-T1:YT1N=$1S3$1;'L1VWD17_J_$<Q5$=O9$=Q3$=X5$9Y9$<
M_7$6]]$>C1$? 5(_IO$@ 405=W$AKY$;YQ$FZ-$:%Y(<&U(@N]$<(;(?'5(?
M&7(5'?(;,](C=S$D19(B2](BFQ$CL_$?W[$C61(D"3(B37(F49(95?(<-U(B
M-?(DPQ$B/W(B^W$F [(FL5$>27(>Y=$@$7(I]T,A=[(G1;(BW3$H7U(HB=(F
MJ;(B<](ED1(J_Q$HJ;(DI7(HK[(7(U(K1U(BT=(KX?$GJW(LRQ(9SS(JTY(K
M35(J=3(L@Q(NXW(@LY(N/5(IF1(AG?(JR;(O+7(<:_(P$=,>%1,E&;,Q[S$R
MUU$R^S(:!_,4M6$S_SFS,SWS,T$S-$5S-$FS-$WS-%$S-55S-5FS-5WS-6$S
M-F5S-FFS-FWS-G$S-W4S-#.S-WWS-X$S.(5S.(FS.(WS.)$S.95S.9FS.9WS
M.:$S.J5S.JFS.JWS.K$S.[5S.[FS.[WS.\$S/,5S/,FS/,WS/-$S/=5S/=FS
M/=WS/>$S/N5S/NFS/NWS/O$S/_5S/_FS/_WS/P$T0 5T0 FT0 WT0!$T015T
M01FT01WT02$T0B5T0BFT0BWT0C$T0S5T0SFT0SWT0T$T1$5T1$FT1$WT1%$T
M155T15FT15WT16$T1F5T1FFT1FWT1G$T1W5T1WFT1WWT1X$T2(5T2(FT2"Z-
M]$B1-$F5=$F9M$F=]$FA-$JE=$JIM$JM]$JQ-$NU=$NYM$N]]$O!-$Q_,R  
" #N1
 
end
END-------------- test.gif ------------ part 5/5 ---
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` = 5 ]; 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
-- 
_______________________________________________________________________________
	Mike Romero                      NETCOM Online Communications
        IRC Nick: Giz                    408-382-3108 Voice-Mail
        Silicon Valley, California       mer@netcom.com
_______________________________________________________________________________