|
From: Andreas L. <av...@lo...> - 2008-11-23 01:01:13
|
Neil Madden <ne...@Cs...> wrote:
> try ?-matchcommand cmd? script ?handlers ...? ?finally script?
I don't like that particular option, and I think that glob-like
matching will be enough for some time, but I would see for "--"
as an options delimiter before the body (even though no options
are yet defined) just in case we later notice that we do need any.
> ... {POSIX *} ...
While I find this most practicable, it somehow does strike me as
odd, that in this particular case, we are *supposed* to use a
string operation (pattern-matching) on a list ($errorCode).
Perhaps this pattern should be itself taken as a list, and then
glob-matched element-wise (to the length of the pattern).
That way {POSIX *} would exhibit the same behaviour as is expected,
but it would be easier to safely match the third element of the
list, without being trapped by list-string meta-characters.
|