Search Results

Search: Posts Made By: nickg
4,362
Posted By jim mcnamara
use a while loop to read a file while read...
use a while loop to read a file

while read XXX
do
pastdate=`get_JD $XXX`
currdate=`get_JD &YYY`
diff=`expr $currdate - $pastdate`
echo $diff
done < TESTFILE
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy