Jari Aalto <[EMAIL PROTECTED]> writes: > Andreas Schwab <[EMAIL PROTECTED]> writes: > > | Jari Aalto <[EMAIL PROTECTED]> writes: > | > | > Could you elaborate a little. The syntax of grep is not sufficient to > | > make daily searches with M-x find-dired or M-x grep-find that happen > | > frequently during searching system log files or looking into program > | > and text document files. > | > | In GNU grep there is no expressive difference between BREs and EREs, only > | the syntax differs. > > $ grep --version > grep (GNU grep) 2.5.1 > > $ echo -e "this\nthat" | grep '(this|that)' > <nothing>
Which part of "only the syntax differs" did you not understand? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel