diff --git a/share/rss.uppxml b/share/rss.uppxml index 85f05f9..536adec 100644 --- a/share/rss.uppxml +++ b/share/rss.uppxml @@ -1,29 +1,27 @@ -#!/usr/bin/env pp - + - Book club @ nfld - https://nfld.uk - Book club discussions, etc. + Book club @ nfld + https://nfld.uk + Book club discussions, etc. #! for f in *.html do - if test -f "$f" - then - b="$f".old - >&2 printf "Processing %s...\\n" "$f" - diff=$(wdiff -3 "$f" "$b") - if ! test -z "$diff" - then +test -f "$f" || continue +b="$f".old +test -f "$b" || continue +>&2 printf "Processing %s...\\n" "$f" +diff=$(wdiff -3 "$f" "$b") +if ! test -z "$diff" +then #! - - Recent updates to $f - https://nfld.uk/$f - $diff - + + Recent updates to $f + https://nfld.uk/$f + $diff + #! - fi - fi +fi done #!