I figured out how to easily reproduce the problem I encountered (using /bin/ksh):
mkdir '/tmp/test$1'
mkdir '/tmp/test$1/test$2'
cd /tmp/test [tab][tab]
The first [tab] has expected result; but not the second one.
I figured out how to easily reproduce the problem I encountered (using /bin/ksh):
mkdir '/tmp/test$1'
mkdir '/tmp/test$1/test$2'
cd /tmp/test [tab][tab]
The first [tab] has expected result; but not the second one.