bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mail, just doesn't seem to work for me!


From: Sam Roberts
Subject: Re: mail, just doesn't seem to work for me!
Date: Fri, 22 Feb 2002 10:55:09 -0500
User-agent: Mutt/1.3.16i

Oops, you're right!

But:

$ mail --file=imap://localhost -H
sendmail="sendmail:/usr/ucb/sendmail"
sendmail="sendmail:/usr/ucb/sendmail"
sendmail="sendmail:/usr/ucb/sendmail"
source requires an argument

Quoting Sergey Poznyakoff <address@hidden>, who wrote:
> > $ mail -f imap://localhost -H
> 
> Sam, -f switch takes an optional argument, therefore it must be used
> without intervening whitespace, like this:
> 
> $ mail -fimap://localhost -H
> 
> Similarly, if the long form is used, the use of equal sign
> is obligatory (again, no intervening whitespace):
> 
> $ mail --file=imap://localhost --headers
> 
> In your invocation, imap://localhost was interpreted as an argument of
> its own, after rearranging the options (what argp actually saw was
> {"-f", "-H", "imap://localhost", NULL}).
> 
> Sadly, this option always causes confusion. Maybe we'd better make
> the argument obligatory and thus simplify the things?

No need. I make this mistake even with my own utilities.

-- 
Sam Roberts <address@hidden> (Vivez sans temps mort!)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]