lhunath 1195564457 learn can't realistically parse XML using Bash or utilities such as grep, sed or cut. Considder migrating to a language that has libraries for this or take a look at XSLT and XPath (See the XML-XPath package). lhunath 1195564862 forget lhunath 1201595317 learn can't realistically parse HTML using Bash or utilities such as grep, sed or cut. If you just want to dump/render the HTML, see (links|links2|lynx|w3m) -dump, html2text, vilistextum. For parsing out pieces of data, see Tidy+(xmlstartlet|xmlawk|xpath). lhunath 1201595497 forget