bug-bash
[Top][All Lists]
Advanced

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

Re: [BUG] variable assignments before a command


From: Oğuz
Subject: Re: [BUG] variable assignments before a command
Date: Tue, 30 Sep 2025 12:14:51 +0300

On Tuesday, September 30, 2025, Pourko via Bug reports for the GNU Bourne
Again SHell <bug-bash@gnu.org> wrote:

> $ echo $BASH_VERSION
> 5.3.3(1)-release
>
> $ time true
> real    0m0.000s
> user    0m0.000s
> sys     0m0.000s
>
> $ FOO=bar time true
> 0.00user 0.00system 0:00.00elapsed 100%CPU (0avgtext+0avgdata
> 968maxresident)k
> 0inputs+0outputs (0major+76minor)pagefaults 0swaps
>
> $ FOO=bar time :
> time: cannot run :: No such file or directory
> Command exited with non-zero status 127
> 0.00user 0.00system 0:00.00elapsed 79%CPU (0avgtext+0avgdata
> 1300maxresident)k
> 0inputs+0outputs (0major+37minor)pagefaults 0swaps
>

Where is the bug? `:' is a shell builtin, an external command cannot run it.


-- 
Oğuz


reply via email to

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