README: add a simplified version of printing the first enclosure

This works on sfeed(5) feed output since they are already sorted.
This commit is contained in:
Hiltjo Posthuma 2021-07-06 18:19:03 +02:00
parent 26921d36c8
commit c128eff86f
1 changed files with 4 additions and 0 deletions

4
README
View File

@ -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