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