Searched refs:LC_ALL (Results 1 - 25 of 37) sorted by relevance
12
/ast/src/cmd/ksh93/tests/ |
H A D | locale.sh | 38 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 D | signal.sh | 273 [[ $(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 D | io.sh | 387 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 D | glob.sh | 102 set -- $(LC_ALL=C /bin/sh -c 'echo [a-c]')
|
H A D | pty.sh | 75 export PS1=':test-!: ' PS2='> ' PS4=': ' ENV= EXINIT= HISTFILE= TERM=dumb VISUAL=vi LC_ALL=C
|
H A D | substring.sh | 287 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 D | options.sh | 32 export LC_ALL=C ENV=
|
H A D | variables.sh | 628 for v in LC_ALL LC_CTYPE LC_MESSAGES LC_COLLATE LC_NUMERIC
|
/ast/src/cmd/tests/sfio/ |
H A D | tlocale.c | 33 setlocale(LC_ALL, "");
|
/ast/src/lib/librecsort/ |
H A D | rskeyopen.c | 48 setlocale(LC_ALL, "");
|
/ast/src/lib/libast/include/ |
H A D | ast_std.h | 168 #ifndef LC_ALL 169 #define LC_ALL (-AST_LC_ALL) macro
|
/ast/src/cmd/std/ |
H A D | iconv.c | 152 setlocale(LC_ALL, "");
|
H A D | locale.c | 71 "[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 D | ls.c | 1327 setlocale(LC_ALL, ""); 1354 if (!strmatch(setlocale(LC_ALL, NiL), "*[Uu][Tt][Ff]?(-)8"))
|
/ast/src/cmd/tests/ |
H A D | strtof.c | 125 if (!strncmp(s, "LC_ALL=", 7)) 127 if (!setlocale(LC_ALL, s + 7))
|
H A D | opt.c | 168 setlocale(LC_ALL, "");
|
H A D | strtoi.c | 117 if (!strncmp(s, "LC_ALL=", 7)) 124 if (!setlocale(LC_ALL, p))
|
/ast/src/cmd/ss/ |
H A D | ss.c | 185 setlocale(LC_ALL, "");
|
/ast/src/lib/libast/comp/ |
H A D | conf.sh | 41 LC_ALL=C 42 export LC_ALL
|
/ast/src/cmd/ksh93/sh/ |
H A D | init.c | 409 /* 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 D | main.c | 311 setlocale(LC_ALL, "");
|
/ast/src/cmd/sort/ |
H A D | testsort.sh | 29 LC_ALL=C 35 export TEST AWK CC LC_ALL SUM SORT TMP
|
/ast/src/cmd/cs/ |
H A D | cs.c | 407 setlocale(LC_ALL, "");
|
/ast/src/cmd/tw/ |
H A D | tw.c | 691 setlocale(LC_ALL, "");
|
/ast/src/lib/libast/port/ |
H A D | lc.c | 132 case LC_ALL: return min ? -1 : AST_LC_ALL;
|
Completed in 52 milliseconds
12