|

楼主 |
发表于 2006-3-9 15:31:13
|
显示全部楼层
Post by yongjian
abs mentioned that OPTIND is not reliable to tell where the option is coming from. It seems to treat "-mnop" style as a whole and strip down one char a time. If you "-m -n -o -p", OPTIND will be incremental.
Oh, yeah. I found it in abs. A little depressed.
Anyway, thanks for your help, yongjian. |
|