![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Difference grep, egrep and fgrep | ravind27 | UNIX Desktop for Dummies Questions & Answers | 2 | 06-14-2009 07:37 AM |
| Egrep cheat sheet anywhere? Looking for meaning of egrep -c | leelm | UNIX for Dummies Questions & Answers | 2 | 01-11-2008 03:37 PM |
| help with egrep | akDBA | UNIX for Dummies Questions & Answers | 9 | 08-02-2006 05:33 AM |
| need to grep or egrep the running processes in C file | jimmynath | UNIX for Advanced & Expert Users | 5 | 09-08-2005 04:26 PM |
| Egrep Help | FuzzyNips | UNIX for Dummies Questions & Answers | 2 | 11-10-2004 04:25 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
grep/awk/egrep?
Hi,
The input file "notifications" contains the following string. FRTP has 149 missing batches I want to search for : FRTP has missing batches As the number 149 is not important and will change. The commands I have tried. grep "FRTP has.*missing batches" notifications.txt grep "FRTP has [0-9] missing batches" notifications.txt awk '$0 ~! /FRTP has.*missing batches/ notifications.txt egrep "FRTP has [0-9]+missing batches" notifications.txt I have had no success as yet. Please assist. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|