]> git.plutz.net Git - serve0/commitdiff
name/numeral sort did not work a expected
authorPaul Hänsch <paul@plutz.net>
Sun, 5 Jan 2020 18:07:35 +0000 (19:07 +0100)
committerPaul Hänsch <paul@plutz.net>
Sun, 5 Jan 2020 18:07:35 +0000 (19:07 +0100)
list.sh

diff --git a/list.sh b/list.sh
index 30dfc42977d7c9c1aa1852d7683a94e40dca2bff..b941aa7f246d32a3a9e5ff09c0ee509e9ebd2b30 100644 (file)
--- a/list.sh
+++ b/list.sh
@@ -107,7 +107,7 @@ list_order(){
   local fm fn fn al length ln h w t c name buffer l
 
   if [ $ORDER = Name ]; then
-    sort -n -k6 |sed 's;^;metashort\t;;'
+    sort -k6 |sed 's;^;metashort\t;;'
   elif [ $ORDER = Group ]; then
     { sort -k6; echo '0 0 0 tags= comment= _'; } \
     | while read -r length h w t c name; do