On Fri, May 17, 2013 at 06:32:53PM +0200, j. van den hoff wrote:
> problem solved. thanks a lot for the quick help. I wasn't aware of the ":  
> problem" in getopts usage strings up to now.

It applies to more than colons, it's just the way to escape characters in
getopts that have special meaning in certain contexts.  Duplicating a
character is a common alternative to backslashes or other notations (I've run
across it before in my travels).  For example, consider this fragment of a
usage string:

    usage="
        ...
        [+EXAMPLES]{
            [+tr '[A-Z]]' '[a-z]]'?Blah blah blah.]
            ...
        }"

Have a good weekend,
Bob


-- 
Bob Krzaczek, Chester F. Carlson Center for Imaging Science, RIT
phone +1-585-4757196, email [email protected], icbm 43.08586N 77.67744W
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to