From 1a26a00bcd96911f602d2d2ff6990934e45decb0 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 18 Feb 2018 14:40:19 +0100 Subject: sfeed_update: run awk in C locale --- sfeed_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfeed_update b/sfeed_update index e280d22..db0ceca 100755 --- a/sfeed_update +++ b/sfeed_update @@ -36,7 +36,7 @@ merge() { # order new items by timestamp (asc). (sed 's@^@O @' "$1" sed 's@^@N @' "$2") | \ - awk '!x[$7 " " $3 " " $4]++ && $1 == "N"' 2>/dev/null | \ + LC_ALL=C awk '!x[$7 " " $3 " " $4]++ && $1 == "N"' 2>/dev/null | \ cut -f 2- | \ sort -t ' ' -k1n,1 } -- cgit v1.2.3