ead@cup.portal.com (Eric De Mund) (04/14/90)
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@sj.ate.slb.com ...!{amdahl,decwrl,uunet}!sjsca4!cemax!ead
brnstnd@stealth.acf.nyu.edu (04/15/90)
In article <28917@cup.portal.com> ead@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