View previous topic :: View next topic
|
Author |
Message |
dineshm123
New User
Joined: 19 Feb 2009 Posts: 4 Location: india
|
|
|
|
Hi,
I have an input file like this
aaaaa abcd dddd string
hhhhhh jjjjj ggghg jkj
jjhjhhjj string jkjkjk
ddddd ssss ggghg jkj
I want my output file to look like
hhhhhh jjjjj ggghg jkj
ddddd ssss ggghg jkj
In short, i want that if 'string' is encountered on any position, then that line should be discarded.
Thanks |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Had you used the search button, THIS thread would have appeared.
Use OMIT instead of INCLUDE. |
|
Back to top |
|
|
dineshm123
New User
Joined: 19 Feb 2009 Posts: 4 Location: india
|
|
|
|
Thanks a lot! it worked
I used
Code: |
OPTION COPY
OMIT FORMAT=SS,
COND=(1,80,EQ,C'string')
|
|
|
Back to top |
|
|
|