Skip to content

${var:$((${#var}-5))} #9

wafflesnatcha opened this Issue May 26, 2012 · 3 comments

2 participants



Doesn't hightlight correctly (I know it's a serious edge case).

It is in fact valid code...

var="This is some text."
echo ${var:$((${#var}-5))}
textmate member
mkhl commented Jun 9, 2012

Ah, yes. I have a patch queued up for this, but I doubt I'll get around to pushing it before my upcoming vacation (for the rest of the month)…

@wafflesnatcha wafflesnatcha reopened this Aug 6, 2012
textmate member
mkhl commented Aug 7, 2012

Did you get a chance to check out 250484f?


Did you get a chance to check out 250484f?

Yea looks good to me

@mkhl mkhl added a commit that closed this issue May 20, 2014
@mkhl mkhl Support interpolation inside parameter expansion.
Closes #9.
@mkhl mkhl closed this in 250484f May 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.