> >There is such a feature already, although it's incredibly well hidden in
> >the documentation.
> As far as I remember it is covered under ALIAS, and under the discussion of
> how executable files are found. Should it be elsewhere?
Well to me the natural place to put a reference to "UNKNOWN_CMD" would
be in the "Command Line" section of the on-line help. So along with the
discussion of command editing, multiple commands, command groups etc.
you would have sections on, say, "How commands are found" and "Handling
invalid commands". The documentation for UNKOWN_CMD is very good, but if
you don't know the facility exists, or are aware of its existence but
can't recall how it's implemented, there seems to be no easy way to
locate it as a feature.
All the above is only in my opinion, obviously, and I know about
UNKNOWN_CMD now, so don't take this _too_ seriously.
Thanks for asking,