![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to negate grep result? | mmdawg | Shell Programming and Scripting | 4 | 05-05-2008 09:24 AM |
| find and replace pattren in file | gopalss | Shell Programming and Scripting | 5 | 08-09-2007 04:06 AM |
| Problem with pattren Matching | pbsrinivas | Shell Programming and Scripting | 7 | 11-27-2006 04:17 AM |
| Search for a Pattren in the files. | sbasetty | Shell Programming and Scripting | 2 | 10-05-2006 01:43 PM |
| how do I negate a sed match | muxman | Shell Programming and Scripting | 5 | 10-04-2006 08:16 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
negate * with in pattren matching...
Hi Every one
I have a file in the following manner... AAAAAA*PERFORM WRITEQ BBDFDD*PERFOMF WRITEQ FFFF *PERFOMF WRITEQ i want to find the lines which donot have * in 7th position.. I have tried this but some problem i think... grep '......[^\*][.]*WRITEQ' INpFIle... any 6 chars not followed by * and any char followed by WRITEQ but this gets me everyting... including 7th char as * |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|