Hello -
I have been using Sublime Text for a while for bash scripts and its been great.
The new build 3170 is giving some errors, however.
When I have a statement of the format:
printFunction “$variableString1” “$(declare -p variableArray)”
The situation above is:
– Where printFunction is my user-defined function.
– And there is a declare statement in the print string, here passing an array to the printFunction.
Everything below the line appears in yellow – like a string. Even though the double quote ends after $variableArray
Please note this error does not occur if, there are two strings being passed to the function.
printFunction “$variableString1” “$variableString2”
Its only where a variable is declared as part of the call to the printFunction.
Or with one string echo command, ie a line ending with a quoted string.
echo “------------------------”
Hope this helps in clearly stating the issue.
I hope this will be fixed soon as it is making all my bash scripts unreadable.
Really appreciate the great product Sublime has been for bash.
Please feel free to reach me with any questions.
Thank you.
Mono