View Single Post
  #3   (View Single Post)  
Old 26th March 2009
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

You can create the sed command file in Make
Code:
FILES= a.src b.src

EDIT    : sedcmd
        sed -f sedcmd ${FILES}

sedcmd  :
        echo '/<iostream.h>/a\\' >${.TARGET}
        echo '#include <ios>' >>${.TARGET}
This will produce the following
Code:
$ cat sedcmd
/<iostream.h>/a\
#include <ios>
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote