UNIX command/script svn log to get just the files information

Franklin - your command is right but my apologies i messed up the case right from beginning. Reposting the exact req now.

Need script help to get just the file info from svn logs - (using awk)

My svn log verbose:

svn log -v //test.com/svn/demo/branches/HelloWorld/ --limit 2
------------------------------------------------------------------------
r12 | testuser2 | 2013-05-29 15:09:20 -0400 (Wed, 29 May 2013) | 1 line
Changed paths:
   M /branches/HelloWorld/project/src/abc.java

ticket-2
------------------------------------------------------------------------
r11 | testuser1 | 2013-05-29 14:25:50 -0400 (Wed, 29 May 2013) | 1 line
Changed paths:
   A /branches/HelloWorld/helloworld.jar

ticket-1

Desired Output:

project/src/abc.java
helloworld.jar

Thanks !!

Ok, try this:

awk -F/ 'NF>1 && /[MAD] \// && sub(".*HelloWorld\/",x)' file
1 Like

Thanks Franklin:

That worked but with a warning.

awk: cmd. line:1: warning: escape sequence `\/' treated as plain `/'