[Top][All Lists]

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

Re: [Nmh-workers] folder -nocreate +/this/does/not/exist

From: David Levine
Subject: Re: [Nmh-workers] folder -nocreate +/this/does/not/exist
Date: Sun, 28 Aug 2016 14:49:27 -0400

Ralph wrote:

>     $ mhparam folder
>     -nocreate
>     $ folder +/this/does/not/exist
>     $ echo $?
>     1
> I'd expect something on stderr.

Well, the man page doesn't promise that:

    Specifying -nocreate will cause folder to exit without creating
    a non-existant folder.

It wouldn't be too hard (provide a new done()) to print a message on
stderr.  But, I think the non-zero exit status is sufficient.  Esp.
in scripts.


reply via email to

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