On 2016-04-18, Charles Campbell wrote:
> Alexander Meshcheryakov wrote:
> > "${VAR/FOO/\\[}"
> >
> > is a bashism to substitute |'FOO'| in |$VAR| with |'\['|
> > vim fails to notice trailing double quote and the of a script becomes
> > highlighted as doublequoted. Demo script to check
Alexander Meshcheryakov wrote:
> "${VAR/FOO/\\[}"
>
> is a bashism to substitute |'FOO'| in |$VAR| with |'\['|
> vim fails to notice trailing double quote and the of a script becomes
> highlighted as doublequoted. Demo script to check highlighting:
>
> #!/bin/bash
> VAR1=FOOBAR
>