On Fri, Mar 13, 2009 at 10:58 PM, Chet Ramey <chet.ra...@case.edu> wrote: > 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
An updated version of the port has all ready been committed. I tried it and it works fine. Update your ports tree and it should be there. -- Gerard ger...@seibercom.net No trees were injured in the creation of this email, but a large number of electrons were terribly inconvenienced.