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: Greg Wooledge
Subject: Re: why does this display errs
Date: Thu, 30 Sep 2021 16:29:39 -0400

On Thu, Sep 30, 2021 at 10:15:38PM +0200, Alex fxmbsw7 Ratchev wrote:
> x=( 1 ) ; eval {rm -rf,mkfifo}' "${x[@]}" ;'
> 
> bash: {rm: command not found

x=( 1 )
rm -f "${x[@]}"
mkfifo "${x[@]}"

Stop making your life complicated.

Also, don't use rm -rf as a default.  It's too dangerous.  Just use rm -f.



reply via email to

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