help-bash
[Top][All Lists]
Advanced

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

Re: how much are "historic" issues with test / [ still an issue


From: Chet Ramey
Subject: Re: how much are "historic" issues with test / [ still an issue
Date: Tue, 25 May 2021 17:01:08 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.2

On 5/25/21 4:43 PM, Christoph Anton Mitterer wrote:
In most
cases,
you can use { and } instead of the subshells.

I guess { } might be faster, too?

As a general rule, the more forks and process creations you can avoid, the
better. What you have to watch out for and manage is side effects in the
current shell process.


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]