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:
6
check.t
6
check.t
@ -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: 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: 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 $
|
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
|
||||||
@ -4377,7 +4377,7 @@ name: utf8opt-1
|
|||||||
description:
|
description:
|
||||||
Check that the utf8-hack flag is not set at non-interactive startup
|
Check that the utf8-hack flag is not set at non-interactive startup
|
||||||
category: pdksh
|
category: pdksh
|
||||||
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.UTF-8!
|
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.utf8!
|
||||||
stdin:
|
stdin:
|
||||||
if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then
|
if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then
|
||||||
print is set
|
print is set
|
||||||
@ -4392,7 +4392,7 @@ description:
|
|||||||
Check that the utf8-hack flag is set at interactive startup
|
Check that the utf8-hack flag is set at interactive startup
|
||||||
category: pdksh
|
category: pdksh
|
||||||
arguments: !-i!
|
arguments: !-i!
|
||||||
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.UTF-8!
|
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.utf8!
|
||||||
stdin:
|
stdin:
|
||||||
if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then
|
if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then
|
||||||
print is set
|
print is set
|
||||||
|
Reference in New Issue
Block a user