ksh solaris10.
I have a large text file as below
Cell 011
458754544 5.91
459923124 100.00
Cell 055
123456789 0.99
123454787 0.55
Cell 094
18759844 5.44
13549986
<end of file>
I want to extract just the rows in the Cell 055 section.
I've done it for the Cell 094 section as below
sed -n '/Cell 094 :/,$p' $INFILE | grep \\. | sed 's/^ //g' | sed 's/ \{1,\}/,/g'
I've forgotten how sed works in this context, and I cannot work out how to extract just up to the 'Cell 094' text.