Hacker News new | ask | show | jobs
by cpeterso 5062 days ago

  curl -s randomfunfacts.com | grep '<i>' | sed 's/.*<i>\(.*\)<\/i>.*/\1/'
1 comments

you don need to use grep, only sed -n