From: WhoKnows
Newsgroups: alt.aeffle.und.pferdle
Subject: - a.gif (1/1)
Keywords: anonymous post
Date: 9 Oct 92 15:32:49 GMT
Organization: SSS (Society for Strong Secrecy)
Originator: WhoKnows@Unknown.com

#--------shell begin here-------
#! /bin/sh
# NOTE: THIS IS *NOT* A "shar" FILE!!
#       ALL INFORMATION BETWEEN "cut here" PAIRS MAY BE EXTRACTED BY ANY
#       MEANS YOU DESIRE, INCLUDING BY EXECUTING THIS SCRIPT (see part 0 for
#       instructions).
# a.gif, part 1/1
# Concatenate anow*.uu files, pipe to uudecode to create 'a.gif'.
echo "Extracting anow1.uu"
if [ `echo $0 | sed -e 's?.*/??'` = "sh" ]
then
  echo "Using this script as shell standard input disables automatic"
  echo "  truncation detection.  Truncation is likely if the next message"
  echo "  isn't 'anow1.uu extracted successfully!'..."
else
  fend=`grep "End of" $0 | sed -e '/^\ \ fend/d'`
  if [ "$fend" = "" ]
  then
    echo "ERROR:  a.gif part 1 is truncated!"
    exit 1
  fi
fi
sed -e '/^BEGIN/d' -e '/^END/d' << \EndOfUUSection > anow1.uu
BEGIN --- CUT HERE --- Cut Here --- cut here ---
begin 600 a.gif
M1TE&.#=A(  B /<  /'JX1H:+2T:&BT:+1HM&CT;&QHM+3T;,"TM&BTM+2\O
M/3TO&STO/3\Q2TLQ,4$Y,$@Y15DS0F4T'EDS3E0\,D)"664T/4Y"63]+/U!$
M93]+2UE"3D).65E"67 ^/DM+/V5$1%Q)/$1095M$94M+2V5$4$Y.665$7%E.
M3G=%/VA-1'!%7HD_/UM095%7:TY93F504%U2<'Y+1$Y966507%E90F5095E9
M3F=2<&A8389-2%M;99\^/I1)0EU=<'!2<')93F5;6WE39E]?>V5;95QE4&A>
M=5ME6W!=75ME9:=$0V5E2H!=3I]*6)-526MA9F5E6XQ59U]I>W)?>Y!84I]6
M.8!E3GM?=G!G77MD9&-K:;LZ2[%*0W!G<&QL@VEN>Y-B5I9C2:=62K5+2\$Z
M3*A568MC;+5+67!P7;M).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@5;S!$B_06#-3&&\=9L$XUG@3
MHC4O03B=+;[0PM\;K3##3#8B30?*&V\8$D8*W%B38X[61,/,+[2@APPPO(!R
M22[IB?,2+?"]T9T,@8AHS38D)LA,+ZL D\Q\$J*GH#72'&.++?O!]8D3//)X
M3#3'T"+3+A*58<LN!Y)H#8KM =-(&*LXX150.BHHXRHS I+9+G0J&"%[O0!3
MD2%W .5-CM' "4IFG1"Z"BTL@=++EK;,4@PPP] 2!@N939HC,RS14HHA_H9\
M4I%8N\BT"BNEB&'+,%K2$D@5=WR2CCM>L?K*6">5==(=JV"2F8V L%(,1+2T
M!0@M[(3$S3&M@%++(TQ$P$(G)8"@@Q5,4-$7$U6,,FTT?8;QR2[HA 3-+KQP
M0\\RGZB "3AVA+&0#(*E-5PRUA#3B1.I >...=8PPTTWYK@CS2U(A% #$\$<
M0TPJ.I10P@8L6()P,#>^H2([Z0#5#3<5@[-,*"HP\4DPT;@#3BH>.$!!3<E(
M XL3*3SHL#OL )6ACL0 TTI^M'#CCCO+B,&" SJ4LN8JG=D"H6SOO).M0$ !
MU70TDTK#3"U3;6++EH XP00K\\DFV\/N=%..^;W0?"4--,3PT@H=T?KB#3& 
MO%$%*]$$8_?4YF3K#LS25/YRY8 S"9$YR[CYQAVO_%3QU.P@G4XWI]L=$HC0
M! F--!'W,ITEK(C.#COPW#WUP^:DD\XXY@ O#3',C CA+@V]8DCO\. .S]3/
M][X[[GL=8\V?/N[B)BBB[^[./,^[\SP[\\SS3L4A)>.-;-XH6E\IK' S3CKP
MU/\\//2+3_KS+:L?4HG ^ 0@\ ,\<[Q#'O-X6 +=(0_[B8U^YF#&RY0&(5#0
M 16O\(8X9$.^\H$/@= #6TB8(8X_]0@9TW$3S/:6CG>0KG0<C-S8IN$_K[R$
)&$RB!2L" @ [
 
end
END --- CUT HERE --- Cut Here --- cut here ---
EndOfUUSection
wcSize=`wc -lwc anow1.uu | awk '{ printf "%s %s %s", $1, $2, $3 }'`
if [ "$wcSize" = "44 96 2516" ]
then
  echo "anow1.uu extracted successfully!"
else
  echo "ERROR IN anow1.uu EXTRACTION!"
  echo "Expecting sum of '44 96 2516', got ${wcSize}..."
  exit 1
fi
if [ `echo anow*.uu | wc -w` -eq 1 ]
then
  echo "All uuencoded parts of a.gif extracted, uudecoding..."
  cat anow*.uu > anow.UU
  test -f anow.UU
  fileErr=$?
  if [ $fileErr -eq 0 ]
  then
    wcSize=`wc -lwc anow.UU | awk '{ printf "%s %s %s", $1, $2, $3 }'`
    if [ "$wcSize" = "44 96 2516" ]
    then
      cat anow.UU | uudecode
      extrErr=$?
      if [ $extrErr -eq 0 ]
      then
        test -f a.gif
        fileErr=$?
        if [ $fileErr -eq 0 ]
        then
          wcSize=`wc -lwc a.gif | awk '{ printf "%s %s %s", $1, $2, $3 }'`
          if [ "$wcSize" = "9 20 1809" ]
          then
            echo "a.gif extracted successfully!"
            rm anow*.uu anow.UU
            exit 7
          else
            echo "ERROR IN a.gif filesum!"
            echo "Expecting sum of '9 20 1809', got ${wcSize}..."
            exit 1
          fi
        else
          echo "ERROR: File a.gif doesn't exist!!"
          exit 1
        fi
      else
        echo "ERROR:  In extraction of a.gif - examine anow.UU..."
        exit 1
      fi
    else
      echo "ERROR IN anow.UU filesum!"
      echo "Expecting sum of '44 96 2516', got ${wcSize}..."
      exit 1
    fi
  else
    echo "ERROR: File anow.UU doesn't exist!!"
    exit 1
  fi
fi
exit 0
#
# End of 'anow1.uu'
#
#--------shell end here-------
('wc -lwc anow1' should be '44 96 2516'...)
('wc -lwc a.gif' should be '9 20 1809'...)

	>>> Processed using xmitBin ver. 1.8 by D. Jim Howard <<<


                                    _ _ /|
                                    \'o O'
                                    =(_._)=
                                       U
                                  Thppt! Ack!
Newsgroups: alt.aeffle.und.pferdle