Steve wrote:
> Hi,
> 
> When I run this command I get an error.  I was wondering  if it was me or the 
> command since I don't really use sed.  I did a cut and paste from the book.
> 
> root:/sources/glibc-2.10.1# DL=$(readelf -l /bin/sh | sed -n 
> 's...@.*interpret.*/tools\(.*\)]...@\1@p')
> bash: command substitution: line 60: syntax error near unexpected token `)'
> bash: command substitution: line 60: `readelf -l /bin/sh | sed -n 
> 's...@.*interpret.*/tools\(.*\)]...@\1@p')'

This should go to lfs-support.

What does

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

give you?

Your output is showing that you are doing something wrong.  There should not be 
a line 60.

   -- 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