Hi,
the double quote between the two braces }"} leads to the problem, that the syntax highlighting fails for the rest of the code!
[code]#!/bin/sh
some stuff here…
foobar() {
echo “this is correct”
}
foo “$1” ${bar:+xyz “${bar}”} 2>&1 /dev/null
no correct syntax highlighting anymore…
foobar2() {
echo “this is not correct :(”
}[/code]
Cheers,
tabas