>--- Forwarded mail from [EMAIL PROTECTED] >Todd Denniston [mailto:[EMAIL PROTECTED] wrote: >> "Jim.Hyslop" wrote: >> > echo ^RCS file:>filerev >> > echo ^revision >>filerev >> > cvs log -rCURRENT_TAG | grep -f filerev >> I think the above may give you some false positives, the >> files in the Attic >> (dead & don't have the tag) lists all revs in the file. >Yes, it will, I neglected to mention that.
>> cvs log -t |grep -e "CURRENT_TAG" -e "^RCS file:"|grep -B1 >> "CURRENT_TAG" >> shows just the files that have the tag. (I think) >Yes, that will work the way you expect. The only thing I can think of that >might mess that up would be a file that happens to have a filename that >contains the same text as the tag. Anchoring the tag with the >beginning-of-line followed by a tab should handle that - I'm not conversant >enough with grep to figure out how to tell grep to match a tab character >though :-) A tab, placed between quotes should do nicely. There's also the rinfo program, which is designed to extract certain data like rlog does, only in a way that is intended to be scanned automatically. It's located at the following URL: http://www.wakawaka.com/source.html >--- End of forwarded message from [EMAIL PROTECTED] _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
