Re: ls patch to sort directories first

2003-09-19 Thread Mathieu Arnold
+-le 18/09/2003 12:05 +0200, Mathieu Arnold écrivait : | Suggestions mostly welcomed :) Maybe I should have sent a PR :) -- Mathieu Arnold pgp0.pgp Description: PGP signature

ls patch to sort directories first

2003-09-18 Thread Mathieu Arnold
Hi, a few weeks ago, I had a coworker which wanted to ls and have the directories listed first... He ended up with a bash function : lx() { \ls -FGhl "$@" | grep ^d | cat; \ls -FGhl "$@" | grep -v '^d\|^t' | cat; } I though better of it and cooked up a patch for ls :