* XXX Rather than counting () and {} we should look for $ and
* then expand the variable.
*/
for (depth = 0, cp = line; depth != 0 || *cp != '='; cp++) {
for (depth = 0, cp = line + 1; depth != 0 || *cp != '='; cp++) {
if (*cp == '(' || *cp == '{') {
depth++;
continue;