greycat 1175177303 learn Attempting to parse HTML with a bash script is grounds for ridicule, derision and scorn.
redondos 1175810650 forget
redondos 1175810736 learn Attempting to parse HTML with a bash script is grounds for ridicule, derision and scorn. If you intend to convert it to plain text here are some tools you can use: (links|links2|lynx|w3m) -dump, html2text, vilistextum.
lhunath 1201594374 forget
lhunath 1201594832 learn Attempting to parse HTML with a bash script is grounds for ridicule, derision and scorn. Considder migrating to a language that has libraries for this or take a look at Tidy + XSLT/XPath
lhunath 1201594871 forget
lhunath 1201594921 learn Attempting to parse HTML with a bash script is grounds for ridicule, derision and scorn. Considder migrating to a language that has libraries for this or take a look at Tidy + XSLT/XPath. If you just want to dump/render the HTML, see (links|links2|lynx|w3m) -dump, html2text, vilistextum.
lhunath 1201595194 forget
lhunath 1201595514 learn You 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+(xmlstarlet|xmlawk|xpath).
karolisl 1201595987 forget
karolisl 1201596026 learn You 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+(xmlstarlet|xmlgawk|xpath).
kojiro 1236626010 forget
kojiro 1236626095 learn You can't realistically parse tag-based markup languages like HTML and XML using Bash or utilities such as grep, sed or cut. If you just want to dump/render HTML, see (links|links2|lynx|w3m) -dump, html2text, vilistextum. For parsing out pieces of data, see tidy+(xmlstarlet|xmlgawk|xpath), or learn xslt. Ask #xml and #html for more help.
yitz_ 1258435111 forget
yitz_ 1258435451 learn You can't realistically parse tag-based markup languages like HTML and XML using Bash or utilities such as grep, sed or cut. If you just want to dump/render HTML, see (links|links2|lynx|w3m) -dump, html2text, vilistextum. For parsing out pieces of data, see tidy+(xmlstarlet|xmlgawk|xpath), or learn xslt. Ask #xml and #html for more help. http://www.codinghorror.com/blog/archives/001311.html
prince_jammys 1262807161 forget
prince_jammys 1262807174 learn You can't realistically parse tag-based markup languages like HTML and XML using Bash or utilities such as grep, sed or cut. If you just want to dump/render HTML, see (links|links2|lynx|w3m) -dump, html2text, vilistextum. For parsing out pieces of data, see tidy+(xmlstarlet|xmlgawk|xpath|xml2), or learn xslt. Ask #xml and #html for more help.
prince_jammys 1262807374 forget
prince_jammys 1262807403 learn You can't realistically parse tag-based markup languages like HTML and XML using Bash or utilities such as grep, sed or cut. If you just want to dump/render HTML, see (links|links2|lynx|w3m) -dump, html2text, vilistextum. For parsing out pieces of data, see tidy+(xmlstarlet|xmlgawk|xpath|xml2), or learn xslt. Ask #xml and #html for more help. See http://www.codinghorror.com/blog/archives/001311.html
e36freak 1367618827 forget
e36freak 1367618836 learn You can't realistically parse tag-based markup languages like HTML and XML using bash or utilities such as grep, sed or cut. If you just want to dump/render HTML, see (links|links2|lynx|w3m) -dump, html2text, vilistextum. For parsing out pieces of data, see tidy+(xmlstarlet|xmlgawk|xpath|xml2), or learn xslt. Ask #xml and #html for more help. See http://xrl.us/bkrxog and http://xrl.us/p0ny
e36freak 1372908612 forget
e36freak 1372908620 learn You can't realistically parse tag-based markup languages like HTML and XML using bash or utilities such as grep, sed or cut. If you just want to dump/render HTML, see (lynx|elinks|links|links2|w8m) -dump, html2text, vilistextum. For parsing out pieces of data, see tidy + (xmlstarlet|xmlgawk|xpath|xml2), or learn xslt. Ask #xml and #html for more help. See http://xrl.us/bkrxog and http://xrl.us/p0ny
e36freak 1372908632 forget
e36freak 1372908662 learn You can't realistically parse tag-based markup languages like HTML and XML using bash or utilities such as grep, sed or cut. If you just want to dump/render HTML, see (lynx|elinks|links|links2|w3m) -dump, html2text, or vilistextum. For parsing out pieces of data, see tidy + (xmlstarlet|xmlgawk|xpath|xml2), or learn xslt. Ask #xml and #html for more help. See http://xrl.us/bkrxog and http://xrl.us/p0ny
lhunath 1382019493 forget
lhunath 1382019497 learn You can't parse structured languages like HTML or XML using bash, grep, sed, cut, etc. Look into tidy, xmllint, xmlstarlet, ... Eg. xmllint --html --xpath '//p[@id="head"]//b[@class="name"]/text()' - <<< '<body><p id="head">Hello, <b class="name">Bob' -- Ask #xml for XPath/XSLT help, that is not a #bash question.
greycat 1466183444 forget
greycat 1466183446 learn You can't parse tag-based languages like HTML or XML using bash, grep, sed, cut, etc. See http://mywiki.wooledge.org/BashFAQ/113 instead.