diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-01-04 18:20:26 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-01-04 18:20:54 +0100 |
commit | e158bec62365732c0c5d54fa785e34470d56c9f6 (patch) | |
tree | 2662dca64df49479eb4265b07755241fcee5c8bc /sfeed_markread | |
parent | 0c9f43581e34f002d6cf308c2454e11ad0dcd54b (diff) |
sfeed_markread: set all locale variables and use LC_ALL
Diffstat (limited to 'sfeed_markread')
-rwxr-xr-x | sfeed_markread | 2 |
1 files changed, 1 insertions, 1 deletions
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 } } |