tree-sitter-bash icon indicating copy to clipboard operation
tree-sitter-bash copied to clipboard

Variables inside [[ conditionals error

Open Yanpas opened this issue 7 years ago • 0 comments

Example

if [[ $AAA == false && "${x:0:1}" != "#" && "${x:0:10}" != "#disabled#" ]] ; then
fi

Replacing ${x:0:1} with $x removed error.

Yanpas avatar Oct 25 '18 12:10 Yanpas