Posted: Sun May 18, 2008 1:31 pm Post subject: search a string - OMIT OVERLAY
Here is my requirement,
i have ps file with record length 42.
1-9 is employee id
10-42 is employee name..
in this file i need to search for a string 'JACK'. If this is present in any position from 10 - 42 this record has to be reported or else if 'JACK' is the only string found from 10 - 42 position that record has to be skipped.
emp - id emp-name
here, the third record has to be skipped as the string 'JACK' is not preceeded or followed by any other string.
Can this be done in sort??
if so can anyone tell the possible ways..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum