sed done
Hayyyyyyy,I have solved (partially) the problem.
If I am searching for a field called xxx, where fields are seperated by #<># I'll do
sed 's/.*#<>#xxx: \(.*\)#<>#yyy.*/\1/'
Where yyy is the next field.
Now if I don't know the yyy, then what ???
Socho Socho.
There is some pangaa on greedy and non greedy I tried to placed '?' some places, but it didn't work.
I 'll see for this later.
For now I am happy with this much only.
0 Comments:
Post a Comment
<< Home