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. I will appreciate any possible help!
Have a look at sed and awk.
Perl, Python or Ruby would be suitable as well if you know them.
Your life would likely be much easier if you picked a scripting language and used one of the many XML libraries available...
|All times are GMT -5. The time now is 02:21 PM.|