#!/bin/sh
# check args
if test $# -lt 3
then cat <<!
usage: $0 file-name release part-number

e.g. $0 temp.text 1.05 2

!
exit 1
fi
if test -f $1
  then
    echo "<<Decoding>>"
    uudecode $1
    echo "<<Uncompressing>>"
    uncompress r$2-ada$3.tar
    tar -xvf r$2-ada$3.tar
  else echo "File " $1 "does not exist"
   exit 1
fi
