I need to get a list of recent changes from CVS and parse it.
Example: CVS user "Löskets" checked in file with spaces but there are empty space delimiters! And then "skates" were checked in a file with a single place in a folder name. What is the trusted way to parse it? Alternatively, is there another CVS command more easily with mutual results? This regex receives all of these: User is in Group # 1, there is a path in file name and group # 4 in group # 3.
% cvs History -C-A-D 2011-03-14 One 2011-03-15 00:17 +0000 jschmoe 1.1 Coolcod.Java Excellent / Source / Java / src / com / Widgets / ef / blur / abstraction == & lt; Remote & gt; M 2011-03-15 00:17 +0000 sumbody 1.2 More Coolcode.java Awesome / Source / Java / src / Com / Widgets / Af / Blur / Abstract == & lt; Remote & gt; A 2011-03-15 00:17 +0000 lollerskates 1.123 This file is named Spaces.html Awesome / Source / Java / src / com / widgets / foo / Vague / Abstract == & lt; Remote & gt; A 2011-03-15 00:17 +0000 JSMMA 1.1 MyWide Project.Java Awesome / Source / Java / src / Com / Widgets / Af / Unclear / Abstract == & lt; Remote & gt; M 2011-03-15 00:17 +0000 Skates 1.5 Bluehalla.Java Very Good / Source / Java / src / Com / Widgets / Af / Content / Block Type / Cart == & lt; Remote & gt;
\ w {D} +) \ S + ([\ w \ S] + \. \ W +) \ s + ([\ w \ s /] +) == \ & lt; Remote \ & gt;
Comments
Post a Comment