You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
in my scripts i use code like that to remove a prefix from a variable:
mystring="test_12345"
echo ${mystring#test_}
CotEditor interpret the "#" as an comment and commented the rest of that line out. Maybe there is a way to improve the syntax inspector. Easy workaround is to use "echo ${mystring/test_/}".
To Reproduce
mystring="test_12345"
echo ${mystring#test_}
#test_} -> will be commented out from design
Expected behavior
No response
CotEditor version
4.5.9
macOS version
13.5.2
Additional context
No response
The text was updated successfully, but these errors were encountered:
Description
Hi,
in my scripts i use code like that to remove a prefix from a variable:
mystring="test_12345"
echo ${mystring#test_}
CotEditor interpret the "#" as an comment and commented the rest of that line out. Maybe there is a way to improve the syntax inspector. Easy workaround is to use "echo ${mystring/test_/}".
To Reproduce
mystring="test_12345"
echo ${mystring#test_}
#test_} -> will be commented out from design
Expected behavior
No response
CotEditor version
4.5.9
macOS version
13.5.2
Additional context
No response
The text was updated successfully, but these errors were encountered: