nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] packf: asks user on file creation

2010-10-28 13:23:01
[2010-10-28 17:36] markus schnalke <meillo(_at_)marmaro(_dot_)de>

packf(1) asks the user for confirmation if the
output file is to be created but appends non-interactively if it
already exists.

Why is the behavior such?

What are the reasons behind the confirmation question on creation? I'd
rather have the question for appending to an existent file. But best
would be to be completely non-interactive, which is the Unix way to do
things, or am I wrong?

I saw just now that the question is only issued if the program runs
interactively (checked by isatty()). But this makes the case only
worse.


meillo

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

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