summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-07-06 18:19:03 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-07-06 18:19:03 +0200
commitc128eff86f1fe443b4663a2a576474fc70e1c045 (patch)
treef50b9572ee4684d3c1b348a40a7280970b36545e /README
parent26921d36c8c1ed52002889ba4c26b645880c2403 (diff)
README: add a simplified version of printing the first enclosure
This works on sfeed(5) feed output since they are already sorted.
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 4 insertions, 0 deletions
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