Am Samstag, 24. November 2012, 08:59:58 schrieb Richard Hipp: > So what should the output look like? Suppose we implement a command: > > fossil grep REGEXP FILENAMEGLOB > > Which searches all historical versions of files that match FILENAMEGLOB for > patterns that match REGEXP. Suppose for concreteness that the regular > expression is "xyzzy" and the file is "ex1.txt". If there are 1000 > different revisions of ex1.txt, does it search them all looking for "xyzzy" > and show each hit? Or did it stop going backwards in time at the first hit > it find?
Hm, I'd rather show first and last revision where xyzzy is in, something like % fossil grep xyzzy ext1.txt 7c88a35016..cbaff03a91:ext1.txt:here we have the *xyzzy* string If you grep through some edit war, you will have many start..stop start..stop tuples. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://bernd-paysan.de/
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

