Ayan George | 14 Dec 2011 05:15

showing headers that match search criteria


Hello,

Is there a way to show headers of messages that match search criteria?  
I would like to be able to do something like:

 > h /To:jdoe@...

I've attached a patch that implements what I'm looking to do.  If this 
functionality doesn't exist, would it be reasonable to add something 
like it?

-ayan
Attachment (pick.patch): text/x-patch, 1054 bytes
------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
nail-devel mailing list
nail-devel@...
https://lists.sourceforge.net/lists/listinfo/nail-devel
jgw | 14 Dec 2011 06:07

Re: showing headers that match search criteria

Ayan George <ayan@...> wrote:

> Is there a way to show headers of messages that match search criteria?
> I would like to be able to do something like:
>
>  > h /To:jdoe@...

Hi Ayan,
I think using 'set searchheaders' then 'f /x:y' where x = header field
and y = search string will do what you want.  There's also the various
'(criterion)' search options but some of those seem to be broken; my
attempts at getting '(subject "string")' or '(text "string")' to work
have not been successful.

Cheers,
Jeff

------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
John Dodson | 14 Dec 2011 07:06
Picon
Picon
Favicon

Re: showing headers that match search criteria


I had a conversation with the nail developer about this & the original bsd
code stream that worked in mailx until recently used as the Fedora mail prog.
diverged from the nail sources at some time so the broken code is still in nail.

The fix is simple - revert to the old code segment.

Cheers

johnd

John Dodson | Bosch Research Engineering & Computing Facility Manager,
            | Network Manager Medical Sciences, Electrical/Electronics/Control
            | /Telecommunications Engineer Physiology/School of Medical Sciences

The University of Sydney
Rm N252,Anderson Stuart Building (F13) Eastern Avenue,
The University of Sydney|NSW|2006|Australia.
T +61 2 9351 5246 | F +61 2 9351 2058 | M +61 4 1459 7557
E johnd@... | W http://www.physiol.usyd.edu.au/johnd
ABN:15 211 513 464 CRICOS Number: 00026A

	I'd rather be on OTI... http://www.bio.usyd.edu.au/OTI

jgw@... wrote:

>Ayan George <ayan@...> wrote:
>
>> Is there a way to show headers of messages that match search criteria?
>> I would like to be able to do something like:
(Continue reading)

Ayan George | 16 Dec 2011 21:26

Re: showing headers that match search criteria

Thank you Jeff and John.  Somehow I overlooked the 'f' command in
the man page.

-ayan

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure

Gmane