summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-02-18 14:40:19 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-02-18 14:40:19 +0100
commit1a26a00bcd96911f602d2d2ff6990934e45decb0 (patch)
treef49e02edb07bc6fd0014c25950e3c020c5eb1f13
parent13269e18b4c8583e84dc0e78448b939d191b5120 (diff)
sfeed_update: run awk in C locale
-rwxr-xr-xsfeed_update2
1 files changed, 1 insertions, 1 deletions
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
}