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
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 -->
#
10
(
permalink
)
05-23-2006
jim mcnamara
...@...
Join Date: Feb 2004
Location: NM
Posts: 3,493
It doesn't limit the search to a maximum of 6 a's.
Example test with seven a's:
Code:
/home/jmcnama > echo "aaaaaaa" | egrep '^a(a)+$' aaaaaaa
try it.
jim mcnamara
View Public Profile
Find all posts by jim mcnamara