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: Alex fxmbsw7 Ratchev
Subject: Re: why does this display errs
Date: Thu, 30 Sep 2021 22:29:15 +0200

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
>
> 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
>>
>> On Thu, Sep 30, 2021, 22:13 Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com>
>> wrote:
>>
>>> hmm shitt, thanks
>>>
>>> On Thu, Sep 30, 2021, 22:13 Greg Wooledge <greg@wooledge.org> wrote:
>>>
>>>> On Thu, Sep 30, 2021 at 10:07:57PM +0200, Alex fxmbsw7 Ratchev wrote:
>>>> > why
>>>> >
>>>> > x-( 1 ) ; eval {rm -rf,mkfifo}' "${x[@]}" ;'
>>>> >       bash: syntax error near unexpected token `1'
>>>>
>>>> Because assignments use = not - .
>>>>
>>>>


reply via email to

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