Closed fidian closed 9 years ago
Older versions of bash don't allow ${STRING:0:-1} syntax. See https://gist.github.com/rk295/a2a48c3b0f8d753df101
${STRING:0:-1}
Adding @rk295 to this issue so he knows when it gets resolved.
Bash 4.2 only according to http://tldp.org/LDP/abs/html/bashver4.html#NEGOFFSET
Negative indices have been removed.
Older versions of bash don't allow
${STRING:0:-1}
syntax. See https://gist.github.com/rk295/a2a48c3b0f8d753df101