nmh-workers
[Top] [All Lists]

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

2016-08-29 08:49:36
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



_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>