clipmenu

Simple clipboard management using dmenu
git clone https://git.sinitax.com/cdown/clipmenu
Log | Files | Refs | README | LICENSE | sfeed.txt

commit 4347465b78fc2c881cc263ea0493c48b6fd0cd7a
parent a93cc27b65e745dfe94f37bacb76b3159fe9e766
Author: Chris Down <chris@chrisdown.name>
Date:   Wed, 21 Feb 2018 17:32:40 +0000

Force LC_ALL=C for clip sort

Diffstat:
Mclipmenu | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clipmenu b/clipmenu @@ -35,8 +35,8 @@ fi # argument to override an earlier one. That is, if the user passes in `-l`, our # one will be ignored. chosen_line=$( - cat "$cache_file_prefix"_* /dev/null | sort -rnk 1 | cut -d' ' -f2- | - awk '!seen[$0]++' | "$CM_LAUNCHER" -l 8 "$@" + cat "$cache_file_prefix"_* /dev/null | LC_ALL=C sort -rnk 1 | + cut -d' ' -f2- | awk '!seen[$0]++' | "$CM_LAUNCHER" -l 8 "$@" ) [[ $chosen_line ]] || exit 1