This content has been marked as final. Show 2 replies
read up more on getopt...it would seem that you have to first process through the loop to get an EOF (-1) condition which
it returns when it gets to the end of the -- CLOPT flag. Then you do another run through, and sure enough, it picks up
the -d one...go figure...
Try inserting a space between d and 1 in your CLOPT
eg. CLOPT="-A -- -d 1"