sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit e158bec62365732c0c5d54fa785e34470d56c9f6
parent 0c9f43581e34f002d6cf308c2454e11ad0dcd54b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue,  4 Jan 2022 18:20:26 +0100

sfeed_markread: set all locale variables and use LC_ALL

Diffstat:
Msfeed_markread | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfeed_markread b/sfeed_markread @@ -21,7 +21,7 @@ unread) tmp=$(mktemp) trap "rm -f ${tmp}" EXIT test -f "${urlfile}" || touch "${urlfile}" 2>/dev/null - LC_CTYPE=C awk -F '\t' ' + LC_ALL=C awk -F '\t' ' { FILENR += (FNR == 1) } FILENR == 1 { urls[$0] = 1 } FILENR == 2 { if (!urls[$0]) { print $0 } }