bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Optimal shell scripting (vs. archive generated by shar -V...)


From: Bruce Korb
Subject: Re: Optimal shell scripting (vs. archive generated by shar -V...)
Date: Mon, 30 Aug 2010 09:11:38 -0700

On Mon, Aug 30, 2010 at 8:34 AM, Eric Blake <address@hidden> wrote:
> On 08/29/2010 11:31 AM, Bruce Korb wrote:
>>
>> This way we don't run the "true" executable in order to check the "-c"
>> condition.
>
> 'true' is a shell builtin in practically every existing shell today, and
> does not cost any extra execution time.

I thought a lot of the bother was about caring for weirdo ancient shells. :-D
[[I remember someone trying to argue that there have been no worthwhile
advances in shell technology since 1977 and he'll stick with that Bourne
shell, thank you very much.]]



reply via email to

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