May 1, 2003 #1 vlz IS-IT--Management Aug 11, 2002 56 IL Hi, I need to replace one string with another. How can sed do it? replace this: myRoot.isAskNPImport()==true with this: myRoot.isNPImport()==true && myRoot.getServiceType()!=\"PBX\" Thanks in advance. Vadim
Hi, I need to replace one string with another. How can sed do it? replace this: myRoot.isAskNPImport()==true with this: myRoot.isNPImport()==true && myRoot.getServiceType()!=\"PBX\" Thanks in advance. Vadim
May 1, 2003 1 #2 vgersh99 Programmer Jul 27, 2000 2,146 US sed -e 's/myRoot.isAskNPImport()==true/myRoot.isNPImport()==true \&\& myRoot.getServiceType()!=\\"PBX\\"/g' myFile.txt vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+ Upvote 0 Downvote
sed -e 's/myRoot.isAskNPImport()==true/myRoot.isNPImport()==true \&\& myRoot.getServiceType()!=\\"PBX\\"/g' myFile.txt vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+