![]() |
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 |
| Matching character | felixwhoals | UNIX for Dummies Questions & Answers | 2 | 01-09-2008 07:11 PM |
| tcl: regexp matching special character | sumitgarg | Shell Programming and Scripting | 6 | 01-09-2008 06:00 PM |
| Matching a choice of character in test command | lalelle | Shell Programming and Scripting | 2 | 08-21-2007 01:40 AM |
| Get rid of repeated entries. | jijibabawu | Shell Programming and Scripting | 2 | 10-03-2005 10:17 PM |
| character matching | Rukshan | UNIX for Dummies Questions & Answers | 1 | 09-19-2000 09:03 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
matching repeated character
looking for a bit of help with sed.
I have a file that looks a bit like this: Code:
sdfghhjk asdfdfghgj asdfhgghj werdfvtfh edftbgh 1211211221 sdffgfm dfghnhjm dfvfsgbgh adsfv bdhgn 1111111dffg dfv1122 dsgvbghn111111 fffffffgbdghn fffffff sfgh3333gs vdf I need to match any line that has a any character repeated more three or more times in a row. so i need output like this: Code:
1111111dffg dsgvbghn111111 fffffffgbdghn fffffff sfgh3333gs vdf |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|