jeyb/hackernews — pull request #3 by bitops (2011-12-26 11:33:30+00:00)
Title: Added a "limit" parameter

Added a -l option that limits the number of stories shown to the number given.

The fastest way I could think of to implement this was to drop the initial output into a file in /tmp and then doing some processing. There is probably a more elegant way to do it, but I couldn't think of it off the top of my head.

I also updated the README file to show documentation for the parameter I added.

Hope you like!