Hi All,
I have a file like this,
2.5479E+17 1336877
2.5479E+16 1336977
2.5479E+1789 2446877
....
I want to get this value into two seperate variables. i tried like this,
NOTE: Here the length of this two variables will not be always same.
profile_poid=`cat temp | cut -d, -f1`
account_poid=`cat temp | cut -d' ' -f2`
then i get the result like this
echo $profile_poid = 2.5479E+17 1336877
echo $account_poid =
I want ther result like this
echo $profile_poid = 2.5479E+17
echo $account_poid = 1336877
Can anyone please suggest how to do this.
Thanks in advance,
Giri.