Feb 27, 2007 #1 drimades IS-IT--Management Nov 8, 2004 221 MK Can someone explain what the following does? sed -i -e "s@^#include <linux/config.h>@/* & */@" \ `grep -lr linux/config.h *` && ( make World 2>&1 | tee xorg-compile.log && exit $PIPESTATUS )
Can someone explain what the following does? sed -i -e "s@^#include <linux/config.h>@/* & */@" \ `grep -lr linux/config.h *` && ( make World 2>&1 | tee xorg-compile.log && exit $PIPESTATUS )
Feb 27, 2007 #2 ilovecocks IS-IT--Management Jan 11, 2006 35 DK Looks like somekind of script generator. do a man sed and maybe there is a man page about it Upvote 0 Downvote
Feb 27, 2007 #3 stanhubble MIS Apr 6, 2001 1,052 CA for each file that has linux/config.h in it substitute /* & */ for any string #include <linux/config.h> that is at the beginning of the line. if that completed successfully run make World and pipe the output to stdout and to a logfile if that completed successfully exit with an error level of $PIPESTATUS Upvote 0 Downvote
for each file that has linux/config.h in it substitute /* & */ for any string #include <linux/config.h> that is at the beginning of the line. if that completed successfully run make World and pipe the output to stdout and to a logfile if that completed successfully exit with an error level of $PIPESTATUS