Michael Robinson wrote:
> root:/# DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
> bash: command substitution: line 45: syntax error near unexpected token `)'
> bash: command substitution: line 45: `readelf -l /bin/sh | sed -n 
> 's@.*interpret.*/tools\(.*\)]$@\1@p')'
> root:/#

Since it is evidently a script (line 45), I suspect a problem at a line 
earlier in the script.

When you think there is a error, cut and paste the code inside the $() 
to check.  In this case:

readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p'

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to