commit c128eff86f1fe443b4663a2a576474fc70e1c045
parent 26921d36c8c1ed52002889ba4c26b645880c2403
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 6 Jul 2021 18:19:03 +0200
README: add a simplified version of printing the first enclosure
This works on sfeed(5) feed output since they are already sorted.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/README b/README
@@ -380,6 +380,10 @@ enclosure URL (probably some audio file):
}
END { if (length(url)) { print url; } }'
+... or on a file already sorted from newest to oldest:
+
+ awk -F '\t' '$8 { print $8; exit }'
+
- - -
Over time your feeds file might become quite big. You can archive items of a