From d09fa291997e83879b5eb304a42f429e4d129c5f Mon Sep 17 00:00:00 2001 From: Larry Jason Date: Thu, 10 Jun 2021 05:41:33 +0700 Subject: [PATCH] Update z.sh change sorting file approach --- z.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.sh b/z.sh index 67f504e..a22b769 100644 --- a/z.sh +++ b/z.sh @@ -156,7 +156,7 @@ _z() { if( common ) { printf "%-10s %s\n", "common:", common > "/dev/stderr" } - cmd = "sort -n >&2" + cmd = "sort -nr >&2" for( x in matches ) { if( matches[x] ) { printf "%-10s %s\n", matches[x], x | cmd