diff options
| -rwxr-xr-x | scripts/sortman | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/sortman b/scripts/sortman index 546a7943d6..a8f70bab56 100755 --- a/scripts/sortman +++ b/scripts/sortman @@ -7,8 +7,9 @@ sed -E '/\/intro./ s/.*\.([[:digit:]])/\10\t&/' \ | sed -E '/\/intro./! s/.*\.([[:digit:]])\>/\11\t&/' \ | sed -E '/\/intro./! s/.*\.([[:digit:]])([[:alpha:]][[:alnum:]]*\>)/\12.\2\t&/' \ | sed -E ' s/\t(.*)/&\n\1/' \ +| sed -E '/\t/ s/\.[[:digit:]]([[:alpha:]][[:alnum:]]*)?\>.*//' \ | sed -E '/\t/ s/\/[_-]*/\//g' \ | sed -E '/\t/ s/[_-]/_/g' \ | sed -E '/\t/ {N;s/\n/\t/;}' \ -| sort -fV \ +| sort -fV -k1,2 \ | cut -f3; |
