Re: [RFC/PATCH 3/4v2] test-lib: provide lazy TIME_COMMAND prereq
- From
Stefano Lattarini <stefano.lattarini@gmail.com>
- Date
- Oct 16, 2012, 18:28 UTC
- Message-ID
- <507DA749.30509@gmail.com>
- In-Reply-To
- <m2mwzmxtyb.fsf@igel.home>
Hi Andreas. I hope you don't mind my nitpickiness, but ...
On 10/16/2012 06:28 PM, Andreas Schwab wrote:
Show 8 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes: > >> Some test want to use the time command (not the shell builtin) and test >> for its availability at /usr/bin/time. > > An alternative way to suppress the builtin meaning is to quote it, like > \time. >
... to be 100% precise, this quoting trick works because 'time' is a shell keyword, rather than a builtin:
$ type time
time is a shell keywordRegards, Stefano