Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  git commit -m "$(curl -s developerexcuses.com | sed -n '/<a.*>/{s/<[^>]*>//g;p}')"


Nice bit of sed. :-) Here's the best awk, I could muster:

  awk -F'>' -v RS='<' '/a href/{print$2}'


There's also:

    lynx -dump -nolist developerexcuses.com




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: