bash suddenly doesn't like $() syntax

Michael P. Soulier msoulier at
Sat Mar 21 07:10:44 PDT 2009


I'm running the shells/bash port on 6.3, and I recently ran a portupgrade. All
of a sudden when I login, my standard .profile and .bashrc are causing a bunch
of error messages, like so

-bash: command substitution: line 39: syntax error near unexpected token `)'
-bash: command substitution: line 39: `    }")'

It would see that bash no longer likes the $() command substitution syntax.

Does that mean that it's defaulting to some sort of posix compatibility mode

Michael P. Soulier <msoulier at>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list