grep

Brian D. McGrew brian at visionpro.com
Mon Jan 17 17:06:57 UTC 2005


I'm having an issue with grep on Fedora Core 3.  Historically on SunOS,
Solaris and RedHat 7.3 we've always used grep 2.2.  However, Fedora Core
3 comes with greg 2.5.1 and it doesn't seem to work anymore and can't
figure out why.

 

The line:

 

$GREP -B1 '^[A-z][A-z0-9]*[     ]*(\(.*\))' 

 

Is what's causing us problems.  I don't know much regex but I've traced
it down to that one line.  Can someone tell me how to make this work
with grep 2.5.1?

 

Thanks,

 

-brian

 

Brian D. McGrew { brian at visionpro.com || brian at doubledimension.com }

---

> YOU!  Off my planet!

 




More information about the redhat-list mailing list