From e158bec62365732c0c5d54fa785e34470d56c9f6 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 4 Jan 2022 18:20:26 +0100 Subject: sfeed_markread: set all locale variables and use LC_ALL --- sfeed_markread | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfeed_markread') diff --git a/sfeed_markread b/sfeed_markread index b7e4706..a40e572 100755 --- 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 } } -- cgit v1.2.3