This repository has been archived on 2023-08-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

40 lines
637 B
Bash
Executable File
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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.
#!/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="€<>ƒ„…†‡ˆ‰ŠŒ<E280B9>Ž<EFBFBD>"
;;
.9)
SAMPLE="<22>“”•˜™šœ<E280BA>žŸ"
;;
# 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