Introduction
Introduction Statistics Contact Development Disclaimer Help
sfeed_content: allow to use script on multiple TSV lines, separate by form feed…
git clone git://git.codemadness.org/sfeed_curses
Log
Files
Refs
README
LICENSE
---
commit 07ba84aaade3283644269073f192aea576aa4fa2
parent 3693c4b6d682bb0b888db657dcfc8fb9309acfd9
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 6 Mar 2021 12:37:28 +0100
sfeed_content: allow to use script on multiple TSV lines, separate by form feed…
Diffstat:
M sfeed_content | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sfeed_content b/sfeed_content
@@ -1,5 +1,5 @@
#!/bin/sh
-# RSS/Atom content viewer for a sfeed(5) line.
+# RSS/Atom content viewer for sfeed(5) lines.
#
# Dependencies:
# - awk, sh, less or an other pager.
@@ -27,6 +27,10 @@ BEGIN {
"-display_charset=\"utf-8\" -assume_charset=\"utf-8\" ";
}
{
+ if (previtem)
+ print "\f";
+ previtem = 1;
+
print "Title: " $2;
if (length($7))
print "Author: " $7;
@@ -46,6 +50,5 @@ BEGIN {
print unescape($4) | htmlconv;
close(htmlconv);
}
- exit;
}' | \
${PAGER:-less -R}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.