X-window sed problem

Ainsley Pereira blfs-support at pebble.org.uk
Tue Aug 23 04:52:48 PDT 2005


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



More information about the blfs-support mailing list