[wanted] ldir: csh alias that lists dirs only

brnstnd at stealth.acf.nyu.edu brnstnd at stealth.acf.nyu.edu
Sun Apr 15 09:36:04 AEST 1990


In article <28917 at cup.portal.com> ead at cup.portal.com (Eric De Mund) writes:
> 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.

Such as postpending a slash to the preglobbed name?

Followups to comp.unix.questions.

---Dan



More information about the Comp.unix.wizards mailing list