|
Yes, by default grep uses basic regular expressions. The dot means to match any single character. Use man grep and see the regular expression section. As you've seen, Use fgrep to grep for fixed strings (or grep -F) Use egrep to grep using extended regular expressions (or grep -E). "It was a rigorous result in information theory that once you could learn in a sufficiently flexible manner - something humanity had achieved in the Bronze Age - the only limits you faced were speed and storage; any other structural changes were just a matter of style." [Schild's Ladder by Greg Egan] Fred A. Kulack - IBM eServer iSeries - Enterprise Application Solutions ERP, Java DB2 access, Jdbc, JTA, etc... IBM in Rochester, MN (Phone: 507.253.5982 T/L 553-5982) mailto:kulack/us.ibm.com Personal: mailto:kulack/gmail.com AIM Home:FKulack AIM Work:FKulackWrk MSN Work: fakulack/hotmail.com (replace email / with @)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.