[ad_1]
I have a file that contain the data as follows
10.00 4.85 2.80
16.00 6.25 3.61
22.00 6.40 3.70
25.00 6.80 3.79
>
100.00 4.85 2.80
160.00 6.25 3.61
220.00 6.40 3.70
250.00 6.80 3.79
>
100.00 4.85 2.88
160.00 6.25 3.68
220.00 6.40 3.78
250.00 6.80 3.78
>
i want to read/print the portion of the data separated by > symbols in for loop
I tried the code
while read block
do
ccc=sed 's/.*[>] * //' $block
echo $ccc
done < filex
can anybody suggest a solution.Thanks in advance.
[ad_2]