Quote:
|
Originally Posted by fredao
[...]
It works, comsumes a lot of computational power though. thanks!
would you explain your code?
|
Yep,
it's an "ugly" and "buggy" code (think what happens if your file2 is big

).
I'm not able to write a good code in 2 minutes

.
The first command generate your pattern list with a various "or" ("|").
The second tests all the records (RS="</object>" assumed) in file1 against it.