this is row 147 of the script: data=(od -b -v $OUT | sed -e 's/^*//g' | sed
-e 's/\(\)/ 0\1/g')
i think this is good, perhaps it is in the row before but i didn't change
anything in the script,
can someone help me??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2014-03-31
Hi remon D
I know it's almost 2 years later but did you ever found a solution? I have run into the same problem and struggeling to find a solution on the internet... Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do not run the script with "sh solget.sh", this will force the interpreter to be set on SH. (instead of BASH). SH is not compatible with array-variables, these are required for Solget. Please set permissions and execute bit correctly for solget.sh and run solget with: "/path/solget.sh"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello,
I have an error when the script is running:
/etc/solget.sh: 147: Syntax error: "(" unexpected (expecting "}")
this is row 147 of the script: data=(
od -b -v $OUT | sed -e 's/^*//g' | sed -e 's/\(\)/ 0\1/g')i think this is good, perhaps it is in the row before but i didn't change
anything in the script,
can someone help me??
Hi remon D
I know it's almost 2 years later but did you ever found a solution? I have run into the same problem and struggeling to find a solution on the internet... Cheers
Check interpreter; You should run this script with BASH. Check if the following points to your local bash install.
#!/etc/bash
Last edit: mistraller 2016-01-18
Do not run the script with "sh solget.sh", this will force the interpreter to be set on SH. (instead of BASH). SH is not compatible with array-variables, these are required for Solget. Please set permissions and execute bit correctly for solget.sh and run solget with: "/path/solget.sh"