Guest User

Untitled

a guest
Jan 15th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Awk 0.50 KB | None | 0 0
  1.  
  2. #!/usr/bin/awk -f
  3.  
  4. /-------/                           {ignore=0;next}
  5. /^r.*\|/                            {rev=$0;next;}
  6. /Changed paths:/                    {next;}  
  7. /^   [AMD] \/main\/branches\/0.7.2/ {ignore=1;next;}
  8.  
  9.  
  10.    {
  11.        if (!ignore)
  12.        {
  13.            if(rev)
  14.            {
  15.                print "------------------------------------------------------------------------";
  16.                print rev;
  17.                rev="";
  18.            }
  19.            print $0;
  20.        }
  21.    }
Add Comment
Please, Sign In to add comment