Venerd́, 27 Dic 2002, alle 20:11 Europe/Rome, Dan Muey ha scritto:
I'd prefer do not do it in this way, because I don't know how many (and what kind of) $originals and $news I'll have.Have you tried doing the regex without the vars? s/(name1|name2)/(surname1|surname2)/g; Does that do what you want?
My aim is to create a regexp to extract by another file the lists and to use them in this script.
oooh! It's always the same thing: when there's a better way to do something it's always the simplier too.This may work, try :{ s/$original/$new/g; print; }
all'adr
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]