Strings as Field separator

Hi,

How i can use two strings as field separator..
I want to use filed separator's as < and >
input -

shdhd  ads<adsd adfs >sdfsd sfsdfsd<

Please help me in this..:wall:

thanks a lot...

Hi pamu,

Which tool are you using?
What do you want to achieve?

awk -F'&lt|&gt' '/condition/ {action}' inputfile

1 Like

Try:

awk -F'<|>'
1 Like