GermanHerman has asked for the wisdom of the Perl Monks concerning the following question:
Thus far I have been persuing a solution that would rely on enumerating the differences between two files. And the immediate context of those differances. My big hangup has been finding those differences AND getting their context. I have been fiddling with diff on the command line with some minor success. And I think with user input I could even roll out some regexes but I would really like to do this correctly. So I am calling on anyone with ideas to post to this thread. Thank you in advance.
-Douglas
Afterthought: I guess if diff produces whole lines instead
of just the exact text that differs I could have the user
input the text to be extracted and have the rest be the
context. Oh Boy....
update (broquaint): dropped the <pre> tags and added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Seeking input on pattern generation.
by educated_foo (Vicar) on Jul 22, 2003 at 14:44 UTC | |
|
Re: Seeking input on pattern generation.
by waswas-fng (Curate) on Jul 22, 2003 at 15:37 UTC | |
by GermanHerman (Sexton) on Jul 22, 2003 at 17:00 UTC | |
by waswas-fng (Curate) on Jul 22, 2003 at 23:46 UTC | |
by GermanHerman (Sexton) on Jul 23, 2003 at 02:08 UTC |