![]() |
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 |
| 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 |
| Use to awk to match pattern, and print the pattern | grossgermany | Shell Programming and Scripting | 6 | 09-23-2009 01:49 PM |
| want to pattern match using awk | asirohi | Shell Programming and Scripting | 3 | 08-06-2009 12:25 PM |
| pattern match | tostay2003 | Shell Programming and Scripting | 3 | 12-31-2008 01:47 PM |
| Pattern match in grep | tipi | Shell Programming and Scripting | 4 | 08-25-2008 06:56 PM |
| how to use pattern match with grep | rei | UNIX for Dummies Questions & Answers | 5 | 01-05-2007 04:33 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Grep to match unknown pattern
Hi there
I would like to search a file for a certain pattern, but i don't know the exact pattern i need to search for. What i do know is that i need to search for the pattern that exists the most in a certain file. so if a file looksike this: summer, summer, winter, spring, summer summer. i would need a grep command to display summer, while summer is the pattern that exists the most. regards chilly |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|