By Buddyluv
$cat fix1.log
FIX4.4 |0=12|55=LIT.L|48=123456|32=5|52=20111107-10:52:22.128|38=100|10=200|
FIX4.4 |0=12|55=LIT.L|48=123456|32=15|52=20111107-10:52:22.128|38=100|10=200|
FIX4.4 |0=12|55=LIT.L|48=123456|32=115|52=20111107-10:52:22.133|38=100|10=200|
FIX4.4 |0=12|55=LIT.L|48=123456|32=500|38=100|10=200|
FIX4.4 |0=12|55=LIT.L|48=123456|32=2|38=100|10=200|110=233
FIX4.4 |0=12|55=LIT.L|48=123456|32=5|38=100|10=200|110=221
FIX4.4 |0=12|55=LIT.L|48=123456|32=5|38=100|10=200|775=1
FIX4.4 |0=12|55=LIT.L|48=123456||35=1|34=52|32=2|38=100|10=200|
FIX4.4 |0=12|55=LIT.L|48=123456|35=0|32=5|38=100|10=200|
FIX4.4 |0=12|55=LIT.L|48=123456|35=5|32=4|38=100|10=200|
So for example if I was only interested in the data within delimiters 0= *, 32=* & 52=* I would want the output to look like this :
|0=12 |32=5 |52=20111107-10:52:22.128
|0=12 |32=2 |52=20111107-10:52:23.133
|0=12 |32=11 |52=20111107-10:52:22.145
|0=12 |32=55 |52=20111107-10:52:24.128
|0=12 |32=5 |52=20111107-10:53:22.128
Then if perhaps I wanted to manipulate this output further and calculate the sum values of column 32=
Assistance appreciated !!