From 6a26111b2228b54af3e04d40b3232ea31cef4e54 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 13 Aug 2022 23:17:06 -0500 Subject: Limit weeds to 50 --- sfeed_weed.awk | 4 ++++ 1 file changed, 4 insertions(+) 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 { } { + if (++line > 50) { + # Only show the newest 50 things. + exit + } timestamp = $1 title = $2 link = $3 -- cgit 1.4.1-21-gabe81