File: testdata-8bit

package info (click to toggle)
dialog 1.0-20060221-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,040 kB
  • ctags: 1,239
  • sloc: ansic: 11,308; sh: 7,591; perl: 355; makefile: 238; python: 164
file content (39 lines) | stat: -rwxr-xr-x 637 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/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