Searched defs:bar (Results 1 - 6 of 6) sorted by relevance

/ast/src/cmd/ksh93/tests/
H A Dreturn.sh38 foo=NOVAL bar=NOVAL
49 else bar "$@"
53 function bar function
55 typeset bar=NOEXIT
56 trap 'bar=EXIT' EXIT
71 foo=NOVAL bar=NOVAL
98 [[ $bar == EXIT ]] || err_exit "foo 2 0: bar exit trap not set"
105 [[ $bar == EXIT ]] || err_exit "foo 2 3: bar exi
[all...]
H A Dsubshell.sh39 z.bar[0]=hello
40 z.bar[2]=world
41 z.bar[1]=(x=4 y=5)
43 typeset -a bar=(
61 z.bar[1]=yesyes
62 [[ ${z.bar[1]} == yesyes ]] || err_exit 'reassign of index array compound variable fails'
63 z.bar[1]=(x=12 y=5)
64 [[ ${z.bar[1]} == $'(\n\tx=12\n\ty=5\n)' ]] || err_exit 'reassign array simple to compound variable fails'
75 z.bar[1]=yes
76 [[ ${z.bar[
301 function bar function
[all...]
H A Dtypes.sh38 typeset x=(hi=ok bar=yes)
90 typeset -A arr=([foo]=one [bar]=2)
91 typeset -A brr=([foo]=one [bar]=2)
108 typeset -m brr[foo]=brr[bar]
110 [[ ${brr[bar]} ]] && err_exit 'brr[bar] should be unset after move'
125 typeset x=foo y=bar
243 function bar function
249 bar
394 oset foo bar
[all...]
H A Dfunctions.sh40 bar=bye
45 1) print -r - "$foo" "$bar";;
48 integer bar=10
49 print -r - "$foo" "$bar";;
71 if [[ $(bar=foo foobar 1) != '33 foo' ]]
74 if [[ $bar == foo ]]
124 print bar
132 if [[ $(foo) != bar ]]
191 print bar
193 if [[ $(foo) != bar ]]
201 function bar function
872 function bar function
911 function bar function
990 bar() { caller;} function
1033 function bar function
1062 function bar function
[all...]
H A Dnameref.sh36 nameref foo=$1 bar=$2
37 if [[ $foo != $bar ]]
38 then err_exit "foo=$foo != bar=$bar"
41 if [[ $foo != $bar ]]
42 then err_exit "foo=$foo != bar=$bar"
45 if [[ ${foo.child} != ${bar.child} ]]
46 then err_exit "foo.child=${foo.child} != bar=${bar
245 function bar function
[all...]
/ast/src/cmd/pax/
H A Dmisc.c846 char bar[METER_parts + 1]; local
888 if ((i = (p / (100 / METER_parts))) >= sizeof(bar))
889 i = sizeof(bar) - 1;
892 bar[n++] = '*';
893 while (n < elementsof(bar) - 1)
894 bar[n++] = ' ';
895 bar[n] = 0;
896 state.meter.last = sfprintf(sfstderr, "%02d%% |%s| %s%s%*s\r", p, bar, e, s, k, "") - k - 1;

Completed in 15 milliseconds