Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature request: two level sorting
On Jul 2, 6:09am, Sebastian Gniazdowski wrote:
}
} Good that I can get away with the problem by using capital letters,
} which aren't originally used in the data.
If you can find a character not in your data that collates after 'z',
you can do something like this:
setopt extendedglob
LC_COLLATE=C
c='~'
a=( "aaa" "aeg" "aa1" "ae2" )
x=( ${a//<->(#m)/$c$MATCH} )
print ${${(o)$x}//$c}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author