-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(standard_in) 1: syntax error #86
Comments
Based on this, what if you use:
Does that solve it? Also, in general, I'd be interested to see the command you used to run the script and any relevant (non sensitive) settings, like the properties file. |
Better yet, this will check to make sure the var
Of course, the real issue is why this var wasn't set in the first place but the above will prevent errors when it's not and this is only some code to update the screen with progress so hopefully this doesn't affect overall execution of the script but I can't guarantee that. |
I committed the extra checks above, if you're still seeing this error let me know (with the commands and settings you're using) and I can investigate further. |
Hi @oliverlloyd , thanks for support. I've modified the script according to your code. I got this error:
Adding the code (set -x/+x) for debugging I got:
For launching I use this line: The property file jmeter-ec2.properties is (removed sensitive settings): |
I experienced the same issue. Turned out the combination of my locale, $ env | grep LANG
LANG=de_DE.UTF-8 After changing to english the error disappeared: $ LANG=en_US jmeter-ec2.sh |
Hi,
I get this error:
on this row in jmeter-ec2.sh file:
if [ $(echo "$progressPercent>100" | bc) -gt 0 ]; then
The text was updated successfully, but these errors were encountered: