Can ls be made to only list directories?
Dan Bernstein
brnstnd at kramden.acf.nyu.edu
Thu Sep 6 08:04:43 AEST 1990
In article <13343 at hydra.gatech.EDU> gt0178a at prism.gatech.EDU (BURNS,JIM) writes:
> in article <10914:Sep306:06:3490 at kramden.acf.nyu.edu>, brnstnd at kramden.acf.nyu.edu (Dan Bernstein) says:
> > In article <1990Sep3.032037.487 at iwarp.intel.com> merlyn at iwarp.intel.com (Randal Schwartz) writes:
[ `echo foo` is always better expressed as just foo ]
> > 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.)
> I thought so at first too, but don't the backquotes launch a process?
Backquotes don't have to fork any more than output redirection does.
---Dan
More information about the Comp.unix.questions
mailing list