[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Collective memory query



On Mon, Sep 27, 2004 at 06:38:03PM +0200, Adrian 'Dagurashibanipal' von Bidder wrote:

> $ for foo in `command outputting a list of filenames`
> 
> should *always* be replaced by
> 
> $ said command | while read foo; do ...

Hm. I like that better in general. Processing doesn't have to wait for the
entirety of the command's output to be generated.

Thanks.

-- 
    Mason Loring Bliss  mason@acheron.middleboro.ma.us  They also surf who
awake ? sleep : dream;     https://bliss.dyndns.org/    only stand on waves.

Attachment: pgpr8RqRSaVI1.pgp
Description: PGP signature


Reply to: