so i'm sending some text (xml) to sed and I have a particular string that I can match.
Thing is, I need the line after
the string to be displayed.
text looks like this:
I need the line that comes after the string <Owner> (i.e. the line with 7066589 in it.
I've tried this:
cat file.xml | sed -n -e '/<Owner>/n'
but I get nothing returned. I need to do this on a whole bunch of files.
Many thanks in advance for any replies.