The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
grep is not working, please find out the problem
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
grep is not working, please find out the problem
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
05-07-2008
jacco
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 '.*'
jacco
View Public Profile
Find all posts by jacco
Find jacco's past nominations received
Find jacco's present nominations given