I'm having a problem with getopts.
consider a default value definition such as
defdest="HOST:/somedir"
and a getopts `opstring' containing
...
opstring+="[b:bck?The name of the backup destination.]:[dest:=$defdest]"
...
parsing this `opstring' with `getopts' and using `--man' with the script
containing the `getopts' call displays:
...
-b, --bck=dest The name of the backup destination. The default value is
HOST.
...
what this means, seemingly, is that `getopts' does not parse `opstring'
correctly if it contains `:' on the rhs of the `:='.
or am I overlooking something/making a stupid error?
hapens with Version AJM 93u+ 2012-08-01 as well as Version JM 93u
2011-02-08.
j.
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users