Skip to content

Commit

Permalink
Use curl in-place of wget.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeyb committed Dec 26, 2011
1 parent d1ea276 commit e85eae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hackernews
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ hackernews()
fi

attributes="title|link"
wget -q -O- "http://news.ycombinator.com/rss" |
curl -s "http://news.ycombinator.com/rss" |
grep -Eio "<item>.*</item>" |
grep -Eio "<($attributes)>[^<>]*</($attributes)>" |
sed -E "s/<title>([^<>]*)<\/title>/$brown_highlight\1/" |
Expand Down

0 comments on commit e85eae3

Please sign in to comment.