| Title: | CDE on Digital UNIX onment - CDE | 
| Notice: | CDE on Digital UNIX - for CDE on VMS, please see Note 1.3 | 
| Moderator: | UNXA::SYSTEM | 
| Created: | Tue Nov 23 1993 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 660 | 
| Total number of notes: | 2674 | 
could someone help me to explain why the scripts gives different result on dtksh versus ksh #!/usr/dt/bin/dtksh # while getopts b option $@ do echo $option done gives nothing when option used is +b #!/bin/ksh # while getopts b option $@ do echo $option done gives +b when option used is +b Thanks Flavie
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 634.1 | UNXA::BEUTE | No good deed ever goes unpunished... | Thu Apr 17 1997 11:22 | 14 | |
| It's a bug. Here's mail from the maintainer indicating that a QAR has been filed: Hello Chris, It's a bug in dtksh internal function b_getopts(). A QAR bug report was filed, CDE_DTKSH 52556, which will be fixed next release. Please use -b instead of +b to work around this problem. Wen-Jie | |||||