Introduction
Introduction Statistics Contact Development Disclaimer Help
Initial sfeed-tools repository. - sfeed-tools - Sfeed helper scripts.
git clone git://bitreich.org/sfeed-tools git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfr…
Log
Files
Refs
Tags
README
---
commit 654e29685a5463428886124b2c752750530664b2
Author: Christoph Lohmann <[email protected]>
Date: Wed, 23 Aug 2023 12:37:34 +0200
Initial sfeed-tools repository.
Diffstat:
A README.md | 8 ++++++++
A sfeed_aggro | 15 +++++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/README.md b/README.md
@@ -0,0 +1,8 @@
+# Sfeed Tools
+
+People are posting useful helper scripts for sfeed(1):
+
+ git://bitreich.org/sfeed
+
+Here is a repository to aggregate those scripts.
+
diff --git a/sfeed_aggro b/sfeed_aggro
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Author: Evil_Bob
+#
+# sfeed aggregator alligator example:
+# - prefix "[feedname] " before the item title.
+# - sort by newest first.
+# - show top 10 entries
+
+for f in ~/.sfeed/feeds/*; do
+ b="${f##*/}"
+ # prefix basename of file before title and output sfeed(5) format.
+ LC_ALL=C awk -v "feed=$b" 'BEGIN {FS = OFS = "\t"; } { $2 = "[" feed "…
+done | \
+sort -k1,1rn | \
+sed 10q
You are viewing proxied material from bitreich.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.