it's not a bug in dash, it should be used with quote like
if [ s1 ">" s2 ] ....
so in our example:
if [ $CDTYPE ">" 0 ] will work too
it's not a bug in dash, it should be used with quote like
if [ s1 ">" s2 ] ....
so in our example:
if [ $CDTYPE ">" 0 ]
will work too