diff options
author | Andrew Cady <d@jerkface.net> | 2021-09-14 02:27:34 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2021-09-14 02:27:34 -0400 |
commit | 1d070275ef256f3b15894f83ef7d01f487448163 (patch) | |
tree | a718df2359f72f2a2ce14661475145f6cf531e5f | |
parent | 6d82b20fc9f9922abc14202a5eca08f4e3298227 (diff) |
cutbuffer_pop: fix sort order
-rwxr-xr-x | dot/local/bin/cutbuffer_pop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dot/local/bin/cutbuffer_pop b/dot/local/bin/cutbuffer_pop index f817c08..d8ae2ba 100755 --- a/dot/local/bin/cutbuffer_pop +++ b/dot/local/bin/cutbuffer_pop | |||
@@ -11,7 +11,7 @@ chdir_to_destination() | |||
11 | 11 | ||
12 | extract() | 12 | extract() |
13 | { | 13 | { |
14 | sort -z -k1,1 -r | head -z -n 1 | xargs -0 printf '%s\n' | cut -d' ' -f2 | 14 | sort -z -n -k1,1 -r | head -z -n 1 | xargs -0 printf '%s\n' | cut -d' ' -f2 |
15 | } | 15 | } |
16 | 16 | ||
17 | set -e | 17 | set -e |