halvorse@parc.xerox.com (Per-Kristian Halvorsen) (03/20/91)
Is there a utility which makes it simpler to search across message folders for header information or text in the body of messages? Thanks, Per-Kristian
wksung%x1sun2.itri.org.tw@VMA.CC.CMU.EDU (03/20/91)
>> Is there a utility which makes it simpler to search across message >> folders for header information or text in the body of messages? You can try "Mark" but you need to use "Set Option" to expose its menu first. "Mark"'s menu doesn't appear in default. -Sung
nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) (03/20/91)
Excerpts from internet.info-andrew: 19-Mar-91 Searching across message fo.. P. Halvorsen@parc.xerox. (154) > Is there a utility which makes it simpler to search across message > folders for header information or text in the body of messages? A special utility -- No. A general utility -- Yes, sort of. It is called "grep". To use it to search for caption information, e.g. for the word "foobar" in the caption of all messages in folder "foo": cd ~/.MESSAGES/foo strings .MS_MsgDir | grep foobar You could write a simple shell script to do this in all your folders, possibly using find. Similarly, to search through all the bodies in a folder: cd ~/.MESSAGES/foo grep foobar * And, again, a shell script or "find" command could do this across folders. I know that's not what you were hoping for, but reality isn't always pretty.... -- Nathaniel
mcinerny+@ANDREW.CMU.EDU ("Michael J. McInerny") (03/21/91)
Excerpts from internet.info-andrew: 19-Mar-91 Searching across message fo.. P. Halvorsen@parc.xerox. (153) > Is there a utility which makes it simpler to search across message > folders for header information or text in the body of messages? How many of you read this and thought "Use 'grep'. Ugh."? -Michael McInerny, ITC