Thread: egrep question
View Single Post

   
  #3 (permalink)  
Old 01-05-2008, 12:15 PM
Thorsten Nitsch
 
Posts: n/a
Default Re: egrep question

watkins@morningside.edu says...
> Mistake...I think the problem is line 26.
>
> egrep $name $2 > /dev/null Need to somehow quote $name.

What's wrong with
egrep "$name" $2 >/dev/null

Or am I missing anything?
Thorsten
Reply With Quote