Broken Bash?!

Archived topics about LMDE 1 and LMDE 2
Locked
mudcrab

Broken Bash?!

Post by mudcrab »

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
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.
SiKing
Level 5
Level 5
Posts: 571
Joined: Mon Sep 29, 2008 10:57 pm
Location: Las Vegas
Contact:

Re: Broken Bash?!

Post by SiKing »

Perhaps line 25 should read:

Code: Select all

keyboards=$( echo $(ls -l /dev/input/by-path/ | grep -event- | grep kbd | awk -F '../' {'print $2'}) )
:?:
Locked

Return to “LMDE Archive”