/contrib/dialog/samples/testdata-8bit
https://bitbucket.org/freebsd/freebsd-head/ · Shell · 39 lines · 29 code · 3 blank · 7 comment · 0 complexity · 54bcf8a913607e800623138a3e2c5b17 MD5 · raw file
- #!/bin/sh
- # $Id: testdata-8bit,v 1.1 2004/12/19 16:19:12 tom Exp $
- # Select one of the "SAMPLE=" lines, to test handling of characters which
- # are nonprinting in a POSIX locale:
- case .$1 in
- # C1 controls
- .8)
- SAMPLE="
"
- ;;
- .9)
- SAMPLE=""
- ;;
- # Latin-1
- .[aA])
- SAMPLE=" Ą˘Ł¤ĽŚ§¨ŠŞŤŹŽŻ"
- ;;
- .[bB])
- SAMPLE="°ą˛ł´ľśˇ¸šşťź˝žż"
- ;;
- .[cC])
- SAMPLE="ŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎ"
- ;;
- .[dD])
- SAMPLE="ĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢß"
- ;;
- .[eE])
- SAMPLE="ŕáâăäĺćçčéęëěíîď"
- ;;
- .[fF])
- SAMPLE="đńňóôőö÷řůúűüýţ˙"
- ;;
- *)
- # C0 controls (except a few which are always treated specially by curses):
- SAMPLE=""
- ;;
- esac