ash -x but 'case' not shown

walter harms wharms at bfs.de
Sun Sep 10 15:25:46 UTC 2006


hi list,
while testing ash. i found a minor bug.
running the test program with ash -x will show any line
except case lines. i have no clue why it happens any no fix.

N=1
case $N in
    1)  echo "1" ;;
    2)  echo "2" ;;
    \*) echo "default" ;;
esac


 sh -x ash-case.sh
+ N=1
+ case $N in
+ echo 1
1


ash -x ash-case.sh
+ N=1
+ echo 1
1





More information about the busybox mailing list