Searched refs:LC_ALL (Results 1 - 25 of 37) sorted by relevance

12

/ast/src/cmd/ksh93/tests/
H A Dlocale.sh38 b=$($SHELL -c '(LC_ALL=debug / 2>/dev/null); /' 2>&1 | sed -e "s,.*: *,," -e "s, *\[.*,,")
40 b=$($SHELL -c '(LC_ALL=debug; / 2>/dev/null); /' 2>&1 | sed -e "s,.*: *,," -e "s, *\[.*,,")
48 do export LC_ALL=$locale
54 [[ $b == "$n" ]] || err_exit "LC_ALL=$locale printf difference for \"$s\" -- expected '$n', got '$b'"
57 [[ $u == "$q" ]] || err_exit "LC_ALL=$locale quoted print difference for \"$s\" -- $b => '$u' vs \"$b\" => '$q'"
67 export LC_ALL=C
71 c=$(LC_ALL=C $SHELL -c "printf $':%2s:\n' $'\303\274'")
72 u=$(LC_ALL=$locale $SHELL -c "printf $':%2s:\n' $'\303\274'" 2>/dev/null)
74 then LC_ALL=$locale
87 u=$(LC_ALL
[all...]
H A Dsignal.sh273 [[ $(LC_ALL=C $SHELL -c 'trap "print SIGUSR1 ; exit 0" USR1; (trap "" USR1 ; exec kill -USR1 $$ & sleep 5); print done') == SIGUSR1 ]] || err_exit 'subshell ignoring signal does not send signal to parent'
276 [[ $(LC_ALL=C $SHELL -c 'trap "print SIGUSR1 ; exit 0" USR1; (trap "exit" USR1 ; exec kill -USR1 $$ & sleep 5); print done') == SIGUSR1 ]] || err_exit 'subshell catching signal does not send signal to parent'
H A Dio.sh387 if $SHELL -c "export LC_ALL=C.UTF-8; c=$'\342\202\254'; [[ \${#c} == 1 ]]" 2>/dev/null
407 do g=$(LC_ALL=$lc_all $SHELL -c "{ print -n '$a'; sleep 0.2; print -n '$b'; sleep 0.2; } | { read ${o[i]} a; print -n \$a; read a; print -n \ \$a; }")
408 [[ $g == "${e[i]}" ]] || err_exit "LC_ALL=$lc_all read ${o[i]} from pipe '$a $b' failed -- expected '${e[i]}', got '$g'"
414 then export LC_ALL=$lc_utf8
H A Dglob.sh102 set -- $(LC_ALL=C /bin/sh -c 'echo [a-c]')
H A Dpty.sh75 export PS1=':test-!: ' PS2='> ' PS4=': ' ENV= EXINIT= HISTFILE= TERM=dumb VISUAL=vi LC_ALL=C
H A Dsubstring.sh287 LC_ALL=posix
507 if [[ $($SHELL -c $'export LC_ALL=C.UTF-8; print -r "\342\202\254\342\202\254\342\202\254\342\202\254w\342\202\254\342\202\254\342\202\254\342\202\254" | wc -m' 2>/dev/null) == 10 ]]
508 then LC_ALL=C.UTF-8 $SHELL -c b1=$'"\342\202\254\342\202\254\342\202\254\342\202\254w\342\202\254\342\202\254\342\202\254\342\202\254"; [[ ${b1:4:1} == w ]]' || err_exit 'multibyte ${var:offset:len} not working correctly'
565 x='a<2b|>c<3d|\>e' LC_ALL=debug $SHELL -c 'test "${x:0:1}" == a || err_exit ${x:0:1} should be a'
566 x='a<2b|>c<3d|\>e' LC_ALL=debug $SHELL -c 'test "${x:1:1}" == "<2b|>" || err_exit ${x:1:1} should be <2b|>'
567 x='a<2b|>c<3d|\>e' LC_ALL=debug $SHELL -c 'test "${x:3:1}" == "<3d|\\>" || err_exit ${x:3:1} should be <3d|\>'
568 x='a<2b|>c<3d|\>e' LC_ALL=debug $SHELL -c 'test "${x:4:1}" == e || err_exit ${x:4:1} should bee'
569 x='a<2b|>c<3d|\>e' LC_ALL=debug $SHELL -c 'test "${x:1}" == "<2b|>c<3d|\\>e" || print -u2 ${x:1}" should be <2b|>c<3d|\>e'
570 x='a<2b|>c<3d|\>e' LC_ALL=debug $SHELL -c 'test "${x: -1:1}" == e || err_exit ${x: -1:1} should be e'
571 x='a<2b|>c<3d|\>e' LC_ALL
[all...]
H A Doptions.sh32 export LC_ALL=C ENV=
H A Dvariables.sh628 for v in LC_ALL LC_CTYPE LC_MESSAGES LC_COLLATE LC_NUMERIC
/ast/src/cmd/tests/sfio/
H A Dtlocale.c33 setlocale(LC_ALL, "");
/ast/src/lib/librecsort/
H A Drskeyopen.c48 setlocale(LC_ALL, "");
/ast/src/lib/libast/include/
H A Dast_std.h168 #ifndef LC_ALL
169 #define LC_ALL (-AST_LC_ALL) macro
/ast/src/cmd/std/
H A Diconv.c152 setlocale(LC_ALL, "");
H A Dlocale.c71 "[t:composite?List the composite value of LC_ALL on the standard output.]"
825 * list LC_ALL info
838 sfprintf(sp, "LC_ALL\n");
980 else if (setlocale(LC_ALL, lc->name))
1102 sfprintf(sfstdout, "%s\n", setlocale(LC_ALL, NiL));
H A Dls.c1327 setlocale(LC_ALL, "");
1354 if (!strmatch(setlocale(LC_ALL, NiL), "*[Uu][Tt][Ff]?(-)8"))
/ast/src/cmd/tests/
H A Dstrtof.c125 if (!strncmp(s, "LC_ALL=", 7))
127 if (!setlocale(LC_ALL, s + 7))
H A Dopt.c168 setlocale(LC_ALL, "");
H A Dstrtoi.c117 if (!strncmp(s, "LC_ALL=", 7))
124 if (!setlocale(LC_ALL, p))
/ast/src/cmd/ss/
H A Dss.c185 setlocale(LC_ALL, "");
/ast/src/lib/libast/comp/
H A Dconf.sh41 LC_ALL=C
42 export LC_ALL
/ast/src/cmd/ksh93/sh/
H A Dinit.c409 /* Trap for LC_ALL, LC_CTYPE, LC_MESSAGES, LC_COLLATE and LANG */
416 type = LC_ALL;
429 #define LC_LANG LC_ALL
435 if(!sh_isstate(SH_INIT) && (type>=0 || type==LC_ALL || type==LC_LANG))
453 if(CC_NATIVE!=CC_ASCII && (type==LC_ALL || type==LC_LANG || type==LC_CTYPE))
502 if(type==LC_ALL || type==LC_MESSAGES)
/ast/src/cmd/nmake/
H A Dmain.c311 setlocale(LC_ALL, "");
/ast/src/cmd/sort/
H A Dtestsort.sh29 LC_ALL=C
35 export TEST AWK CC LC_ALL SUM SORT TMP
/ast/src/cmd/cs/
H A Dcs.c407 setlocale(LC_ALL, "");
/ast/src/cmd/tw/
H A Dtw.c691 setlocale(LC_ALL, "");
/ast/src/lib/libast/port/
H A Dlc.c132 case LC_ALL: return min ? -1 : AST_LC_ALL;

Completed in 52 milliseconds

12