Processing a file into smaller chunks

2010-05-05 Thread Javier Montoya
Dear all, I'm a newbie with bash programming and I'm trying to process a file into smaller chunks. Let's say I've to process the file below ('X' and 'Y' are any possible float number): 0 0 0 0 0 0 0 0 0 0 0 0 X X X X X 1.70 0 0 0 0 0 0 X X X X X 1.60 0 0 0 0 0 0 X X X X X 1.30 Y Y Y Y Y 1.90 0 0

Re: Processing a file into smaller chunks

2010-05-04 Thread Stephane CHAZELAS
2010-03-11, 04:10(-08), Javier Montoya: [...] > I'm a newbie with bash programming and I'm trying to process a file > into smaller > chunks. Let's say I've to process the file below ('X' and 'Y' are any > possible float number): > > 0 0 0 0 0 0 > 0 0 0 0 0 0 > X X X X X 1.70 > 0 0 0 0 0 0 > X X X X