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:15:38 +0200

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]