-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18-Sep-2002/17:34 -0700, smoke <[EMAIL PROTECTED]> wrote: >is there a way to "or" grep? > >like grep a or b
<administrivia> Please do not use "Reply" to start a new thread. Even if you change the subject, the new message is still threaded with the original. This is because properly designed mail clients use the "In-Reply-To" header to thread messages, not the Subject header. Your mail client uses In-Reply-To, so your replies are threaded with the original message when received by those off use who use a thread-aware mail client. I added this list to my addressbook as 'redhat' to make it easy to start a new thread. If typing '[EMAIL PROTECTED]' is too tedious or error-prone for you (it is both for me), then I suggest you do something similar. </administrivia> As to your question, egrep '(a|b)' testfile will return all lines that contain either 'a' or 'b'. Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]%3E> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D iD8DBQE9iUzQpCpg3WyUI50RAonRAJwJO7Io1JoujBh4fNkZK7rY5dBFzgCbBmnH dpNJUw+DLwtkznhI2ccAGdQ= =Bjz1 -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list