busybox/shell/ash_test/ash-quoting/unicode_8x_chars.tests
Denys Vlasenko fda9fafe27 ash: fix matching of unicode greek letter rho (cf 81) and similar cases
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-07-05 19:10:21 +02:00

29 lines
394 B
Plaintext
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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