nmh-workers
[Top][All Lists]
Advanced

[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: Mon, 29 Aug 2016 09:49:18 -0400

Ralph wrote:

> Well, folder(1) is kind of cd and mkdir in one.  With -nocreate, I'm
> cd-ing to the folder, and cd complains when the directory's missing.  I
> agree I should notice the lack of "/this/does/not/exist+ has no
> messages.", but the Unix norm is silence if all's well so I've been
> conditioned.  My following commands, in the wrong folder, can wreak
> havoc.  :-)

OK, I added an error message:

    $ folder +/this/does/not/exist -nocreate
    folder: folder /this/does/not/exist does not exist
    $ echo $?
    1

David





reply via email to

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