I have a script as follows
[EMAIL PROTECTED]:~$ cat bin/getlstocks
#!/bin/bash
i=0
while [ $i -ne 20 ]
do
        for trv in $(cat temp)
        do
                i=$i+1
                grep $trv stock/nsedata/2008/05/20080512.txt >> lstock
        done
done
when I run I get error as
integer expression expected
How to correct it

-- 
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to