The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
question on egrep
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
question on egrep
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
8
(
permalink
)
05-22-2006
jim mcnamara
...@...
Join Date: Feb 2004
Location: NM
Posts: 3,795
For egrep the limit on the number of allowed matches is expressed {lower,upper}
Code:
egrep '^a{1,6}$'
finds a line made only of one to six characters 'a' -s
jim mcnamara
View Public Profile
Find all posts by jim mcnamara