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
  • 730,956
  • 141
  • 904
  • 1,278
Matias Araya
  • 49
  • 1
  • 8

0 Answers0