[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] switches and smatch
From: |
Ralph Corderoy |
Subject: |
Re: [Nmh-workers] switches and smatch |
Date: |
Tue, 30 Jan 2018 17:41:45 +0000 |
Hi Ken,
> Bakul wrote:
> > May be the current -help option of most commands with some post
> > processing is good enough?
>
> I have thought about that ... but AFAIK we have never committed that
> the "help" output be stable. Really, I think a few extra switches
> would make it a lot easier AND we could commit to long-term stability.
I'm confused. We already install an etc/bash_completion_nmh that's
built from the options listed in the man pages. I think completion
solutions could continue to revolve around us producing and installing.
Separate to completion, there's the issue of a non-nmh program being
able to accept all of an nmh's program's options and add some of its
own, hopefully without clashing. Whether an nmh option takes an
argument or not is the issue? That could be obtained from a new option
to every command, or it could be built and installed as a defined-format
data file.
Ideally something simple to use from a Bourne-shell script, e.g. a
look-up with keys `scan' and `-for' would fail, `scan' and `-forma'
would indicate one further word needed, meaning `format-string'. This
would probably mean having the possible expansions, e.g. `-forma' and
`-format', present so the script isn't doing the labour.
I'm not convinced of a need, but I expect there's others out there that
have fought nmh over this.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
- Re: [Nmh-workers] rcvdist with non-default port, (continued)
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/15
- Re: [Nmh-workers] rcvdist with non-default port, Ralph Corderoy, 2018/01/27
- Re: [Nmh-workers] switches and smatch, David Levine, 2018/01/27
- Re: [Nmh-workers] switches and smatch, Ralph Corderoy, 2018/01/27
- Re: [Nmh-workers] switches and smatch, Ken Hornstein, 2018/01/28
- Re: [Nmh-workers] switches and smatch, Paul Vixie, 2018/01/28
- Re: [Nmh-workers] switches and smatch, Ken Hornstein, 2018/01/28
- Re: [Nmh-workers] switches and smatch, Ralph Corderoy, 2018/01/29
- Re: [Nmh-workers] switches and smatch, Bakul Shah, 2018/01/29
- Re: [Nmh-workers] switches and smatch, Ken Hornstein, 2018/01/29
- Re: [Nmh-workers] switches and smatch,
Ralph Corderoy <=
- Re: [Nmh-workers] switches and smatch, Bakul Shah, 2018/01/30
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, Ralph Corderoy, 2018/01/18
- Re: [Nmh-workers] rcvdist with non-default port, Steven Winikoff, 2018/01/18
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/18
- Re: [Nmh-workers] rcvdist with non-default port, Steven Winikoff, 2018/01/18
- Re: [Nmh-workers] rcvdist with non-default port, Ken Hornstein, 2018/01/18
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14