0

I have a data file with some white spaces:

file.txt

102436350   000007660809        000007660809        000CLPCCNMN10

I tried this:

grep ${acc} ${fxc} > registro
IFS=' '
for reg in `cat registro` line
do
    echo ${reg}
done

But the result gives me the first string of text before space:

102436350

This file is a big one but in each line I have many white spaces.

Jonathan Leffler
  • 698,132
  • 130
  • 858
  • 1,229

0 Answers0