Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Sorting files by their extension



On 8/14/06, Jean-Rene David <jrdavid@xxxxxxxx> wrote:
Has anyone got a ready-made way to do this?

% print -l *
bar.a
bar.b
foo.a
foo.b

% print -l *(o<insert special qualifier here>)
bar.a
foo.a
bar.b
foo.b

It looks like tricky business to me, but perhaps
someone already thought this through.

I don't exactly know the answer to your question, but in the meantime
maybe `ls -X` can help.

--
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author