Originally Posted by Manuel Alvarado
I'm looking for a linux command to extract specific strings from an xml documents. For example, the following string:
I have tried "grep", but this produces the entire line of text which is too much to handle or to focus on.
Many people find this of some use:
Show only the part of a matching line that matches PATTERN.
-- excerpt from man grep
For more flexibility, you might, as bulliver noted, need to consider a scripting language ... cheers, makyo