> Why not just [...]
Because TMTOWTDI. :) Not a lot of cost to it, so no real difference. Besides I like the visual pairing of the sets.
On the other hand, your suggested solution invokes 'ls' and 'stat' for every single file, and takes away the ability to use all the other 'ls' options (at which point it would be easier to use a shell script.) That's exactly what I wanted to avoid. I actually use this as a sort of a 'wrapper' around 'ls' - a drop-in replacement - in which I use the '-O' switch (which I shift off) to enable this behavior; otherwise, I just pass everything to 'ls'.
-- Education is not the filling of a pail, but the lighting of a fire. -- W. B. Yeats
In reply to Re^2: 'ls' with octal permissions
by oko1
in thread 'ls' with octal permissions
by oko1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |