HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //usr/share/doc/dialog-1.2/samples/testdata-8bit
#!/bin/sh
# $Id: testdata-8bit,v 1.2 2011/10/16 23:26:32 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

# This script is source'd from other scripts, and uses the parameter list from
# those explicitly.  But they may use the parameter list later, to set options
# specially for dialog.  Work around the conflicting uses by removing the
# parameter which we just used to select a set of data.
if test $# != 0
then
	shift 1
fi