Searched refs:world (Results 1 - 14 of 14) sorted by relevance

/ast/src/cmd/ksh93/tests/
H A Dheredoc.sh37 hello world
39 if [[ $(<$f) != 'hello world' ]]
40 then err_exit "'hello world' here doc not working"
43 hello world
45 cmp $f $g 2> /dev/null || err_exit "'hello world' quoted here doc not working"
47 hello world
49 cmp $f $g 2> /dev/null || err_exit "'hello world' tabbed here doc not working"
51 hello world
53 cmp $f $g 2> /dev/null || err_exit "'hello world' quoted tabbed here doc not working"
56 $x world
[all...]
H A Dalias.sh38 if [[ $(foo world) != 'hello world' ]]
39 then err_exit 'foo world, where foo is alias for "print hello" failed'
42 alias bar=world
43 if [[ $(foo bar) != 'hello world' ]]
49 alias bar='foo world'
50 if [[ $(bar) != 'hello world' ]]
51 then err_exit 'bar, where bar is alias for "foo world" failed'
53 if [[ $(alias bar) != "bar='foo world'" ]]
54 then err_exit 'alias bar, where bar is alias for "foo world" faile
[all...]
H A Dio.sh144 print world
212 world
213 !) == world ]] || err_exit 'I/O not synchronized with <&'
292 hello world
293 EOF) == 'hello world' ]] || err_exit 'invalid readahead on stdin'
300 if ! $SHELL -c "sed -e 's/hello/hello world/' $tmp/1" >; $tmp/1 2> /dev/null
301 then [[ $(<$tmp/1) == 'hello world' ]] || err_exit '>; not updating file on success'
315 then [[ $(<$tmp/1) == world ]] || err_exit '<>; not truncating file on success of behead'
443 print 'hello world' > $file
465 print hello there world >
[all...]
H A Dtreemove.sh78 node.two="world"
92 node.two="world"
100 [[ "${tree1.subtree["a_node"].two}" == "world" ]] || err_exit "expected tree1.subtree[\"a_node\"].two == 'world', got ${tree1.subtree["a_node"].two}"
111 typeset -T x_t=( hello=world )
119 exp=$'(\n\ttypeset -C -a x=(\n\t\t[4]=(\n\t\t\t[5]=(\n\t\t\t\t[8]=(\n\t\t\t\t\tx_t field=(\n\t\t\t\t\t\thello=world\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t\t[6]=(\n\t\t\t\t[9]=(\n\t\t\t\t\tx_t field=(\n\t\t\t\t\t\thello=world\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t)\n\t)\n)'
H A Dattributes.sh170 w2=world
197 hello worldhello worldhello world
220 typeset -x bar=world
385 typeset -a -u s=( hello world chicken )
388 typeset -A -u s=( [1]=hello [0]=world [2]=chicken )
H A Dcomvario.sh638 $'print "( compound -A a1=( [\'hello world\']=( typeset -a x=( %keyword% ) ) ) ; compound -A a2=( [\'hello world\']=( typeset -a x=( ! ! ! alias ) ) ) )" | read -C c ; print "X${c.a1[\'hello world\'].x[0]}X"'
H A Dpty.sh380 c A world\E
383 u ^hello world\r?\n$
H A Dbuiltins.sh75 hello world
77 [[ $REPLY == 'hello world' ]] || err_exit "read builtin failed"
84 world
86 [[ $REPLY == 'hello world' ]] || err_exit "read continuation failed"
90 [[ $REPLY == 'hello world' ]] || err_exit "read builtin failed"
93 world \
96 [[ $REPLY == 'hello world' ]] || err_exit "read continuation2 failed"
271 print 'hello world'
274 if [[ $(getopts $'[+?X\ffoobar\fX]' v --man 2>&1) != *'Xhello world'X* ]]
361 if [[ $($SHELL -c $'printf \'%2$s %1$s\n\' world hell
[all...]
H A Dcoprocess.sh335 { print -p "world";} 2> /dev/null
337 [[ $REPLY == world ]] || err_exit "expected 'world' got '$REPLY'"
H A Dvariables.sh534 .sh.value=world
537 [[ ${.sh.foobar} == world ]] || err_exit 'get discipline for .sh.foobar not working'
H A Dbasic.sh389 print ${ print hello;} $(print world)
391 [[ $x == 'hello world' ]]
394 x=${ { print -n } ; print -n hello ; } ; print ' world' }
395 [[ $x == '}hello world' ]]
H A Dsubshell.sh40 z.bar[2]=world
45 [2]=world
263 print "hello world"
274 print "hello world"
H A Dcomvar.sh308 typeset x=( typeset -a foo=( [1][3]=hello [9][2]="world" ) )
351 z.bar[2]=world
356 [2]=world
489 info.hello="world"
505 node.two="world"
511 expected=$'(\n\ttypeset -A subtree=(\n\t\t[a_node]=(\n\t\t\tone=hello\n\t\t\ttwo=world\n\t\t)\n\t)\n)'
565 z='typeset -a x=(hello (x=12;y=5) world)'
H A Dtypes.sh597 compound p=( hello=world )
600 exp='typeset -C c=(board_t b=(typeset -a board_y=( [1]=(typeset -a board_x=( [0]=(field=(hello=world;))[1]=(field=(hello=world)));));))'

Completed in 31 milliseconds