help-bash
[Top][All Lists]
Advanced

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

Re: why does this display errs


From: Lawrence Velázquez
Subject: Re: why does this display errs
Date: Thu, 30 Sep 2021 16:35:16 -0400
User-agent: Cyrus-JMAP/3.5.0-alpha0-1322-g921842b88a-fm-20210929.001-g921842b8

On Thu, Sep 30, 2021, at 4:29 PM, Alex fxmbsw7 Ratchev wrote:
> obviously the { doesnt expand, also not in assignments
> so err how to do that now or is there a bug
>
> On Thu, Sep 30, 2021, 22:25 Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:
>
>> ?
>>
>> i use 5.1.8 devel from some weeks ago

Please stop sending separate tiny emails every single time you have
the slightest thought.  This isn't IRC.

>> On Thu, Sep 30, 2021, 22:15 Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com>
>> wrote:
>>
>>> x=( 1 ) ; eval {rm -rf,mkfifo}' "${x[@]}" ;'
>>>
>>> bash: {rm: command not found

You have to quote the space between 'rm' and '-rf'.  Or just write
less convoluted code, as Greg suggested.

-- 
vq



reply via email to

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