ash: fix matching of unicode greek letter rho (cf 81) and similar cases

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-07-05 19:10:21 +02:00
parent 6798486141
commit fda9fafe27
5 changed files with 90 additions and 1 deletions

View File

@ -0,0 +1,28 @@
# Unicode: cf 80
case π in
( "π" ) echo ok ;;
( * ) echo WRONG ;;
esac
# Unicode: cf 81
case ρ in
( "ρ" ) echo ok ;;
( * ) echo WRONG ;;
esac
# Unicode: cf 82
case ς in
( "ς" ) echo ok ;;
( * ) echo WRONG ;;
esac
case "π" in
( π ) echo ok ;;
( * ) echo WRONG ;;
esac
case "ρ" in
( ρ ) echo ok ;;
( * ) echo WRONG ;;
esac
case "ς" in
( ς ) echo ok ;;
( * ) echo WRONG ;;
esac