Techist - Tech Forum - View Single Post - grep, egrep, and regular / extended regular expressions [Help!]

Click Here to Login
View Single Post
Old 10-12-2011, 02:54 PM   #2 (permalink)
mithryn
Newb Techie
 
Join Date: Oct 2011
Location: East Coast
Posts: 5
Default Re: grep, egrep, and regular / extended regular expressions [Help!]

grep -E '(5\s)\{6,}\' file


You are so close with this expression. there's only 3 unneeded characters. 2 are the same.
Remember, {} is a sequence, so you should only need {6}.
That's all I can say w/o giving you the answer. (Although, some could argue I already have).
__________________
mithryn is offline  
 


All times are GMT -5. The time now is 10:18 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.