From c128eff86f1fe443b4663a2a576474fc70e1c045 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 6 Jul 2021 18:19:03 +0200 Subject: README: add a simplified version of printing the first enclosure This works on sfeed(5) feed output since they are already sorted. --- README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README b/README index d2de43b..2ac3cef 100644 --- 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 -- cgit v1.2.3