esum...@ualberta.ca wrote:

> Machine Type: amd64-portbld-freebsd7.1
> 
> Bash Version: 4.0
> Patch Level: 10
> Release Status: release
> 
> Description:
>       Bash reports syntax error near unexpected token `)' for
>   new-style command substitution syntax, i.e., $(command)
>   in interactive and non-interactive shells.
> 
> Repeat-By:
>       $ abc=$(ls)
>   bash: command substitution: line 5: syntax error near unexpected token `)'
>   bash: command substitution: line 5: `date)'

This is due to a problem with the BSD yacc.  Rebuild the port using
bison.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


Reply via email to