home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / C / ROBOT03.ZIP / RCCL182 < prev    next >
Encoding:
Text File  |  1987-03-02  |  429 b   |  27 lines

  1. D=". /a/haywardv/s"
  2. O="/a/haywardv/s"
  3.  
  4. case $# in
  5.   0) OUT=@.out ;;
  6.   1) OUT=$1 ;;
  7. esac
  8.  
  9. for C in $D
  10.  do
  11.   if test -f $C/$OUT
  12.    then
  13.     echo downloading : $C/$OUT
  14.     echo flip switch to download
  15.     sleep 3
  16.     echo RS/ 0000000340
  17.     echo 177560L
  18.     sleep 1
  19.     stty raw
  20.     cat $O/abl $C/$OUT
  21.     stty -raw
  22.     echo 2000G
  23.     exit
  24.   fi
  25.  done
  26. echo 'usage : dl [filename (if @.out does not exist)]'
  27.