コマンドラインでHTMLタグを削除

Nid: 104
  • Posted on: 27 January 2015
  • By: nayeli
$ curl http://lynx.browser.org/ | perl -C -Mutf8 -pe 's/<.+?>//g'
$ curl http://lynx.browser.org/ | sed -e 's/<[^>]*>//g'