HP-sUX has en_US.utf8 but no en_US.UTF-8

as GNU has both, and I don’t know which OS has what and which is more
common, just use that one instead
This commit is contained in:
tg 2008-05-04 01:38:04 +00:00
parent e27ae086d2
commit 3a9febd94d
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.189 2008/05/02 18:55:35 tg Exp $
# $MirOS: src/bin/mksh/check.t,v 1.190 2008/05/04 01:38:04 tg Exp $
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
@ -4377,7 +4377,7 @@ name: utf8opt-1
description:
Check that the utf8-hack flag is not set at non-interactive startup
category: pdksh
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.UTF-8!
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.utf8!
stdin:
if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then
print is set
@ -4392,7 +4392,7 @@ description:
Check that the utf8-hack flag is set at interactive startup
category: pdksh
arguments: !-i!
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.UTF-8!
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.utf8!
stdin:
if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then
print is set