Can ls be made to only list directories?

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Mon Sep 3 16:06:34 AEST 1990


In article <1990Sep3.032037.487 at iwarp.intel.com> merlyn at iwarp.intel.com (Randal Schwartz) writes:
> A tip from someone who knows launching processes is expensive:
> You *never* need
> 	`echo something`
> Just use
> 	something

Not always. When echo is built in and the shell is sensible, `echo
something` is hardly an efficiency loss, and it's sometimes useful for
playing with the spacing. (Consider csh's word breaks.)

---Dan



More information about the Comp.unix.questions mailing list