Using AWK, treate files
        Posted  
        
            by Mat
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Mat
        
        
        
        Published on 2010-04-01T13:26:58Z
        Indexed on 
            2010/04/01
            13:33 UTC
        
        
        Read the original article
        Hit count: 334
        
Hi all,
I have something to do that it must be finished before 4.00PM.
I want create a batch file with awk, grep or sed that keep all lines beginning with 'INSERT' and delete the other lines.
After this, i want replace a string "change)" by "servicechange)" when the 3rd word in the treated line is "donextsit".  
I don't know how to do this before my deadline (4.00 PM). Please HELP ME!!
Thx for your answers.
And Sorry for my english ;)
© Stack Overflow or respective owner