3

Linux from scratch's bash problem: $() syntax error

view full story
linux-howto

http://unix.stackexchange.com – When I try to build the glibc following the Linux from scratch instruction Chapter 6.9. Glibc-2.14.1, I get a syntax error about $(command). The simplified problem is that I can type echo `ls` and get the expected result. However when I type echo $(ls) which should do the same thing, but I get **bash: command substitution: line 78: syntax error near unexpected token `)' bash: command substitution: line 78: `ls)'** I don't know why the bash program that I created following the instruction of Linux from scratch cannot handle $() correctly. The glibc problem is here. Any idea? (HowTos)