>         http://www.egroups.com/message/info-cvs/16893?

That is a much better approach -- more general.  I have a couple of nits:
        the use of "?:" to determine the strings doesn't allow for growth :)
        If the args were colon-separated key=value pairs, then I could do
                eval `echo $1 | tr : ' '`
The second nit allows for expansion, and also means xT_ADD could become
        WHERE=BRANCH:OP=ADDTAG
and C_ADD would be
        OP=ADDFILE
or some such mixture.  (Clearly the opcodes are disjoint to allow a single
script to handle both things.)

What's the likelihood of that functionality appearing?
        /r$

Reply via email to