Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Sorry, I am trying to simplify things, and likely making them more complicated. :(
I think I can provide some sample data easier than I can change the code to make it work on the sample. This is what the input would look like:
So I am trying to remove only the "ref n" lines (not the n lines themselves), and only for paragraphs where "bar" appears in the paragraph. The output should look like this:
So I do (think I) need to pass through the file twice - once to find the references I want to remove, and once to actually remove them. In reply to Re^2: some efficiency, please
by Anonymous Monk
|
|