help-bash
[Top][All Lists]
Advanced

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

stuck at bash unexpected token `(' error


From: alex xmb ratchev
Subject: stuck at bash unexpected token `(' error
Date: Sat, 4 Mar 2023 15:24:42 +0100

actually i work arounded by setting shopt -s extglob to the top of the
script

but thats a work around

when looking at the script see shopt -s and that wasnt enuff , will move up

but .. isnt this a bug ?

---

i try to run imo clean script
after few typos fixing im completly stuck at '(' parse error

line 38
is var=( whatever ) in the if constructs

/root/bin/ff2ogg: ff2ogg: line 38: syntax error near unexpected token `('

/root/bin/ff2ogg: ff2ogg: line 38: `paths=( @("$1") )'

/root/bin/ff2ogg: ff2ogg: line 39: syntax error near unexpected token `fi'

/root/bin/ff2ogg: ff2ogg: line 39: ` fi'

Attachment: ff2ogg
Description: Binary data

Attachment: ff2ogg.fixed
Description: Binary data


reply via email to

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