[email protected] wrote:
>  
> 
>   I am working from book 6.5
>     I am up to the stage of building Glibc from within the system proper, chap
>     ter  6 section 9.1
>     This command:
>     DL=3D$(readelf -l /bin/sh | sed -n 
> 's...@.*interpret.*/tools\(.*\)]...@\1@p')
          ^^
Extra characters.

produces the following output:
>     "bash: command substitution: line 35: syntax error near unexpected token 
> `)
>     '"
>     "bash: command substitution: line 35: `readelf -l /bin/sh | sed -n 
> 's...@.*int
>     erpret.*/tools\(.*\)]...@\1@p')'"

Whenever you get this type of error, try to break it down:

readelf -l /bin/sh

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

See if those work. Then go back and analyze the original line didn't work.

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