Search Results

Search: Posts Made By: mkukantha
55,654
Posted By mkukantha
Hey, I tried samething , it's working to...
Hey,

I tried samething , it's working to me,, Looks your input file has some problem , pls check..

filename :kk
#!/bin/bash
DATE=`date +%Y%m%d`
file='/gsl-as2/home/kponnan/myprg/tmp.txt'...
3,758
Posted By mkukantha
Hey, Please try this.. ...
Hey,

Please try this..

/Users/name/bin/acweather.rb -z 54321 -o /Users/name/bin -c |awk '{print $4}'|awk -F"/" '{print "High="$1 ; print "Low="$2}'

Thanks
Kantha
55,654
Posted By mkukantha
Problem with this lines... cat $file |...
Problem with this lines...

cat $file | while read line

done < $file


Please remove cat $file or < $file.
Showing results 1 to 3 of 3

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