syntax error near unexpected token `)'
I have chrooted into my 7.1 LFS when I get an error doing this command for Glibc-2.14.1;
DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
The error says: bash: command substitution: line 6: syntax error near unexpected token `)'
I have no problem doing this syntax when I am not chrooted.
Is there something I need to recompile to have this command accepted?
Tks ...
Last edited by Mordillo98; 05-16-2012 at 03:39 PM.
|