I have a project that uses CVS and recently bumped the baseline to the next major revision, 4.0. What I am trying to do, is get the last version of a file before that bump (programatically, I know I can inspect the file in an editor).
For instance, if I have the following couple files with versions, I want to get what is after the arrow (=>):
makefile ... 3.4, 3.5, 4.0 => 3.5 main.cc ... 3.9. 3.10, 4.0, 4.1 => 3.10