diff options
-rwxr-xr-x | sfeed_weed.awk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sfeed_weed.awk b/sfeed_weed.awk index d3a463c..ccc3521 100755 --- a/sfeed_weed.awk +++ b/sfeed_weed.awk | |||
@@ -15,6 +15,10 @@ BEGIN { | |||
15 | } | 15 | } |
16 | 16 | ||
17 | { | 17 | { |
18 | if (++line > 50) { | ||
19 | # Only show the newest 50 things. | ||
20 | exit | ||
21 | } | ||
18 | timestamp = $1 | 22 | timestamp = $1 |
19 | title = $2 | 23 | title = $2 |
20 | link = $3 | 24 | link = $3 |