Re: [Unknown error when running a simple bash script]

2022-07-04 Thread Greg Wooledge
On Mon, Jul 04, 2022 at 06:15:27PM +0200, Alex fxmbsw7 Ratchev wrote: > On Mon, Jul 4, 2022, 18:07 wrote: > > When I am running the script, it says "[[: not found." You're running the script with sh, not with bash. If you are typing "sh myscript", that immediately identifies the source of the pr

Re: [Unknown error when running a simple bash script]

2022-07-04 Thread Alex fxmbsw7 Ratchev
On Mon, Jul 4, 2022, 18:07 wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -g -O2 -flto=auto -ffat-lto-objects -flto=auto > -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-secur