Jul 30, 2003 #1 msen IS-IT--Management Apr 24, 2001 36 US !/usr/bin/ksh set -v set -x LOG=/export/home/senm/logs/cleanup.log.`date +%d%m%y.%H%M%S` INFILE=/export/home/senm/rollover.dat GREPFILE=/tmp/grep.log ##READFILE=`(read $GREPFILE)' ##echo $READFILE while read $GREPFILE do echo $GREPFILE done
!/usr/bin/ksh set -v set -x LOG=/export/home/senm/logs/cleanup.log.`date +%d%m%y.%H%M%S` INFILE=/export/home/senm/rollover.dat GREPFILE=/tmp/grep.log ##READFILE=`(read $GREPFILE)' ##echo $READFILE while read $GREPFILE do echo $GREPFILE done
Jul 30, 2003 #2 marsd IS-IT--Management Apr 25, 2001 2,218 US Wrong forum..try unix scripting. Buy a good book on shell programming is my advice. A working script might look like: Code: while read line do echo $line done < $GREPFILE Upvote 0 Downvote
Wrong forum..try unix scripting. Buy a good book on shell programming is my advice. A working script might look like: Code: while read line do echo $line done < $GREPFILE
Jul 30, 2003 #3 PHV MIS Nov 8, 2002 53,708 FR Also, be more specific on the subject line. Hope This Help PH. Upvote 0 Downvote