[rancid] Can I search (a la grep) a devices change history?
heasley
heas at shrubbery.net
Wed Feb 11 19:55:04 UTC 2026
Wed, Feb 11, 2026 at 07:36:07PM +0000, on at LEFerguson.com:
> Almost perfect, I need to look closely and see if I can add a version or date to it, but it worked great (first is 'cd' not cat for those following along at home).
>
> But that gets me close enough even if I can't find the version.
to have the versions, probably need to process all revisions, like
cvs log | <extract version> > revisionlist
<loop>(revision list)
cvs diff $rev1 $rev2 | <match the text you seek>
if <match>
<do whatever with the diff or rev2>
More information about the Rancid-discuss
mailing list