Quote:
Originally Posted by rakeshawasthi
this way...
Code:
echo ${_Array[1]}
|
Tried..but its not printing anything...any other way u know to do this.
the test code is
IFS=""
eve=`psg ftp | grep tV`
n=0
for line in $eve
do
n=`expr $n + 1`
echo $line
array=`echo $line |awk -F" " '{print $5}' |awk -F":" '{print $2}'`
echo ${array[2]}
done