bash suddenly doesn't like $() syntax
danielby at slightlystrange.org
Sat Mar 21 07:21:28 PDT 2009
On Sat, Mar 21, 2009 at 08:49:01AM -0400, Michael P. Soulier wrote:
> 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
It's a bug in bash 4. It was discussed here a few days ago. I would
deinstall v.4 and install shells/bash3 until the bug's fixed.
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090321/5ab9d509/attachment.pgp
More information about the freebsd-questions