![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| grep for pattern | aemunathan | Shell Programming and Scripting | 12 | 05-08-2008 11:58 PM |
| How to grep this pattern?? | askumarece | Shell Programming and Scripting | 13 | 02-20-2008 03:03 AM |
| help with grep the pattern | bluemoon1 | Shell Programming and Scripting | 2 | 09-20-2007 08:27 AM |
| grep for more than one pattern | frustrated1 | Shell Programming and Scripting | 4 | 12-13-2005 09:49 AM |
| grep and sed to find a pattern and add newline | ssikhar | Shell Programming and Scripting | 5 | 10-26-2004 02:32 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
grep the pattern followed by newline
Hi
I have a problem using grep to find a pattern followed by newline. Here is my file xxxxxxxxxxxpattern patternxxxxxx pattern xxxpattern xxpatternx xxxxxxyyyyxxxx I want the result to be like this xxxxxxxxxxxpattern pattern xxxpattern Please help |
| Forum Sponsor | ||
|
|