X-window sed problem

Thomas De Reyck thomasdereyck at pandora.be
Tue Aug 23 04:57:35 PDT 2005


Ainsley Pereira schreef:

>On Tue, Aug 23, 2005 at 01:43:58PM +0200, Thomas De Reyck wrote:
>  
>
>>sed -i -e "s@^#include <linux/config.h>@/* & */@" \
>>
>>   `grep -lr linux/config.h *` &&
>>( make World 2>&1 | tee xorg-compile.log && exit $PIPESTATUS )
>>
>>But, whenever i issue this command, i get:
>>
>>sed: can't read grep -lr linux/config.h *: No such file or directory
>>
>>Since I'm not (yet ;-) )a real sed/grep artist, does anyone know what I 
>>might be doing wrong?
>>    
>>
>
>Sounds to me like you're using quotes (') instead of backticks (`), so
>sed is trying to read a file called 'grep -lr linux/config. *' rather
>than the output of that command.
>
>~Ainsley
>  
>
Ofcourse! :-D Thank you VERY much. It had too be something like this.



More information about the blfs-support mailing list