[wanted] ldir: csh alias that lists dirs only

Eric De Mund ead at cup.portal.com
Sat Apr 14 23:57:55 AEST 1990


dear wizards,

i'd like a csh alias that lists dir names only. i've come up with:
    % alias ldir '/bin/ls -1aF \!* | fgrep "/" | pr -5 -l1 -t'
but there's got to be something better. one thing i don't like about
the above is that dir names are listed alphabetically by row rather
than by column. suggestions welcomed.

eric

----
eric de mund
ead%cemax.com at sj.ate.slb.com
...!{amdahl,decwrl,uunet}!sjsca4!cemax!ead



More information about the Comp.unix.wizards mailing list