Hi.
I have a feeling that bash is somewhat broken or different in LMD than it is in Debian itself.
The reason why I belive this, is, that when I try to run a bash script on LMD it gives me a strange syntax error, but if i run the same script on my other system (just regular Debian Lenny), it gets executed and no errors pop up what so ever.
Hope you guys can point me in the right direction, because I would love to move all my multiseat computers (about 30) from Debian to LMD. Thanks.
The script: http://pastebin.com/tn08Pxwj
The error: /usr/bin/duatomseat: 25: Syntax error: "(" unexpected
Broken Bash?!
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Broken Bash?!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Broken Bash?!
Perhaps line 25 should read:
Code: Select all
keyboards=$( echo $(ls -l /dev/input/by-path/ | grep -event- | grep kbd | awk -F '../' {'print $2'}) )