<<< Date Index >>>     <<< Thread Index >>>

Re: search email in index by a header



On Wed, Jan 07, 2004 at 01:15:17PM -0500, Asif Iqbal wrote:
> 
> I tried this 
> 
> l ~h From: mutt-user
> 
> and it says 
> 
> error in pattern at: mutt-user
> 
> I am trying to select all headers that has mutt-user in it
> 
> What am I doing wrong ?

You actually need:

l ~h 'From: mutt-user'

because otherwise the space marks the end of the argument to ~h.


However, it doesn't really make sense to specify 'From' with ~h.  You can
just search the From header directly:

l ~f mutt-user


Ronald