Thread: deleteing
View Single Post
  #4 (permalink)  
Old 05-09-2008
royalibrahim royalibrahim is offline
Registered User
 

Join Date: Jun 2007
Posts: 60
Quote:
Originally Posted by aju_kup View Post
Code:
grep "^[0-9].*" <filenames>
Hi, whether the above one or this one:
Code:
grep "^[0-9][0-9]*" <filenames>
is the correct regular expression to filter the lines that contain only numeric values (numbers)?? or both are same (can be used interchangeably)?
Reply With Quote