The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 05-22-2006
ranj@chn ranj@chn is offline
Playing with Ubuntu Now!
 

Join Date: Oct 2005
Location: Chennai
Posts: 364
put one 'a'

Put a single a before the mentioned pattern. You should get your result.
egrep '^a(a)+$' filename
Reply With Quote