Does anyone have a nice awk for svn log output? -


i want search commit messages string, it's easy pipe svn log grep, because message , rev on separate lines, it's little more complicated.

i.e.

svn log ./ | searchsvnmessages.awk artf29999

------------------------------------------------------------------------ r9303 | myuser | 2011-02-22 15:13:47 -0800 (tue, 22 feb 2011) | 1 line  artf29999: adjusting skin ------------------------------------------------------------------------ r9302 | myuser | 2011-02-22 14:11:06 -0800 (tue, 22 feb 2011) | 1 line  artf29999: adding skinning. ------------------------------------------------------------------------ r800 | myuser | 2011-02-22 09:44:36 -0800 (tue, 22 feb 2011) | 1 line  artf29999: adding functionality. 

i hoping else had done dirty work piggyback on?

if need search first line of each log entry , using gnu grep, can svn log . | grep -b2 artf29999.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -