PageRenderTime 19ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 1#!/bin/sh
 2# $Id: testdata-8bit,v 1.1 2004/12/19 16:19:12 tom Exp $
 3
 4# Select one of the "SAMPLE=" lines, to test handling of characters which
 5# are nonprinting in a POSIX locale:
 6
 7case .$1 in
 8	# C1 controls
 9.8)
10	SAMPLE="€‚ƒ„…†‡ˆ‰Š‹ŒŽ"
11	;;
12.9)
13	SAMPLE="‘’“”•–—˜™š›œžŸ"
14	;;
15
16# Latin-1
17.[aA])
18	SAMPLE=" Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ"
19	;;
20.[bB])
21	SAMPLE="°ą˛ł´ľśˇ¸šşťź˝žż"
22	;;
23.[cC])
24	SAMPLE="ŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎ"
25	;;
26.[dD])
27	SAMPLE="ĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢß"
28	;;
29.[eE])
30	SAMPLE="ŕáâăäĺćçčéęëěíîď"
31	;;
32.[fF])
33	SAMPLE="đńňóôőö÷řůúűüýţ˙"
34	;;
35*)
36	# C0 controls (except a few which are always treated specially by curses):
37	SAMPLE=""
38	;;
39esac