|
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).
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005
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.