The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-07-2008
jacco jacco is offline
Registered User
  
 

Join Date: May 2008
Posts: 15
The * in a regular expression is not the same as in file expansion.
The * in "112042708*.txt" means '0 or more times an 8'.
If you want a regular expression that matches '0 or more time a random something' use a dot, as in '.*'