Force LC_ALL=C for clip sort
This commit is contained in:
parent
a93cc27b65
commit
4347465b78
4
clipmenu
4
clipmenu
|
@ -35,8 +35,8 @@ fi
|
||||||
# argument to override an earlier one. That is, if the user passes in `-l`, our
|
# argument to override an earlier one. That is, if the user passes in `-l`, our
|
||||||
# one will be ignored.
|
# one will be ignored.
|
||||||
chosen_line=$(
|
chosen_line=$(
|
||||||
cat "$cache_file_prefix"_* /dev/null | sort -rnk 1 | cut -d' ' -f2- |
|
cat "$cache_file_prefix"_* /dev/null | LC_ALL=C sort -rnk 1 |
|
||||||
awk '!seen[$0]++' | "$CM_LAUNCHER" -l 8 "$@"
|
cut -d' ' -f2- | awk '!seen[$0]++' | "$CM_LAUNCHER" -l 8 "$@"
|
||||||
)
|
)
|
||||||
|
|
||||||
[[ $chosen_line ]] || exit 1
|
[[ $chosen_line ]] || exit 1
|
||||||
|
|
Loading…
Reference in a new issue