![]() |
|
|
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 |
| Word count of lines ending with certain word | warlock129 | Shell Programming and Scripting | 8 | 08-30-2009 04:37 AM |
| Sed or awk cut all lines after word | Trump | Shell Programming and Scripting | 7 | 03-25-2009 08:42 PM |
| how to grep the word and display only the second word from it | prsam | UNIX for Dummies Questions & Answers | 11 | 12-17-2008 01:06 PM |
| how to grep for a word and display only the word | ananthmm | UNIX for Dummies Questions & Answers | 6 | 05-29-2008 09:00 AM |
| GREP:Output all lines containing word | ljubayuu | Shell Programming and Scripting | 3 | 04-06-2006 11:21 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I have a query on using grep options. I tried with several options but unable to do it. lanite:52> cat note 123 456 ab 123 ab cv 234 4566 67 ab gh tij ab 12 34 ab ab cv dfgv ab cv ab kjhk ab ghj sdf dfg ab jljklj ab Now, I need to use grep to find the line which contains the word "ab" exactly twice. Please help me. ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|