I don't think that fits. As I see it, ls is an end user tool, i.e. output generally goes direct to the end user. If you would like a more progamatic way of selecting files then `find` is more appropriate. (find has a -type option for example).
The shell can also be used to expand just directories. I have the following alias for example: alias lld='ls -lUd */' Pádraig. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils