> > > > > after this given pattern > > */trademark UNIX/ * > > if exist then > > i want to delete the block-pattern > > /*is The Open Group*\n*an industry standards/* > > What exactly do you want to delete? The next two lines? The specific > text ...Open group...industry standard...? Up to some other pattern?
Yes i want to delete a specific text after a certain pattern is present , let me just re-explain, Suppose i have a given text file with the following content ** *the owner of the* *trademark UNIX* *is The Open Group* *an industry standards* *consortium* then , if only /*trademark UNIX*/ is present then delete the the give specific text /*is The Open Group*\n*an industry standards*/ the end result of the file should look like this ** *the owner of the* *trademark UNIX* *consortium* the pattern /*trademark UNIX/* should not be edited/deleted Thanks again !! > -- > > सादर > Agnello Dsouza > www.linux-vashi.blogspot.com > -- http://mm.glug-bom.org/mailman/listinfo/linuxers

