|
From: | Eric Blake |
Subject: | Re: Optimal shell scripting (vs. archive generated by shar -V...) |
Date: | Mon, 30 Aug 2010 09:34:38 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2 |
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.
-- Eric Blake address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |