aboutsummaryrefslogtreecommitdiff
path: root/feed
diff options
context:
space:
mode:
Diffstat (limited to 'feed')
-rwxr-xr-xfeed9
1 files changed, 8 insertions, 1 deletions
diff --git a/feed b/feed
index 30e7498..3235fee 100755
--- a/feed
+++ b/feed
@@ -39,7 +39,14 @@ getnew() {
39} 39}
40 40
41showmenu() { 41showmenu() {
42 cat "$destdir"/* | $menu | awk '{print $NF}' | xargs $urlopener 42 for f in "$destdir"/*; do
43 ff=$(basename "$f")
44 if [ -s "$f" ]; then
45 while read -r line; do
46 printf '%20s %s\n' "$ff" "$line"
47 done < "$f"
48 fi
49 done | $menu | awk '{print $NF}' | xargs $urlopener
43} 50}
44 51
45while getopts "m:" opt; do 52while getopts "m:" opt; do

Generated with cgit - Back to sebastiano.tronto.net