home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / templates / linkstd
Text File  |  2007-02-18  |  485b  |  21 lines

  1. #! /bin/sh                                                              
  2. #  Shell script to do a typical Link task. Parameters are:
  3. #
  4. #      $1 = Input or Details file
  5. #      $2 = Link or Master file         
  6. #      $3 = Output file/result file
  7. #
  8. #  Check # parameters
  9. if [ $# -ne 3 ]
  10. then
  11.     echo "Incorrect number of parameters specified"
  12. fi
  13. export detail=$1
  14. export master=$2
  15. export output=$3
  16. /opt/robelle/bin/suprlink -v << \!EOD
  17. input $detail
  18. link  $master
  19. out   $output
  20. exit
  21. !EOD