#! /bin/sh # # Last change: Mihai Dima 2001 # if [ $# -lt 3 ] then echo " " echo " ***** CDIV ***** " echo " " echo " The program divides the input data (file1) with" echo " a constant field (file2)" echo " " echo " Syntax: cdiv " echo " " exit 0 else echo " " echo " ***** CDIV ***** " echo " " echo "file1="$1 echo "file2="$2 echo "file3="$3 cp $1 fort.1 cp $2 fort.2 fi cat > cdiv.f <