![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AWK, print no of records after pattern match. | admax | Shell Programming and Scripting | 2 | 10-03-2009 08:47 AM |
| Use to awk to match pattern, and print the pattern | grossgermany | Shell Programming and Scripting | 6 | 09-23-2009 02:49 PM |
| match a pattern and print the line once | bhagirathi | Shell Programming and Scripting | 11 | 07-13-2009 11:02 AM |
| Sed to delete exactly match pattern and print them in other file | new_buddy | Shell Programming and Scripting | 3 | 07-10-2008 03:59 AM |
| match a pattern, print it and the next line | nymus7 | Shell Programming and Scripting | 4 | 07-29-2005 01:59 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Using grep to print just the pattern match
Hi all,
Is it possible for grep to output just the pattern match and not the whole line when it comes across a match? I know you can adjust the number of trailing or leading lines that are printed, but am yet to find anything that outputs just the pattern match. Cheers, Tim |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|