Searched refs:hello (Results 1 - 25 of 31) sorted by relevance

12

/ast/src/lib/libtk/library/demos/
H A Dhello5 # hello --
9 # SCCS: @(#) hello 1.6 96/02/16 10:49:18
15 button .hello -text "Hello, world" -command {
18 pack .hello
/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"
54 x=hello
[all...]
H A Dalias.sh34 alias foo='print hello'
35 if [[ $(foo) != hello ]]
36 then err_exit 'foo, where foo is alias for "print hello" failed'
38 if [[ $(foo world) != 'hello world' ]]
39 then err_exit 'foo world, where foo is alias for "print hello" failed'
41 alias foo='print hello '
43 if [[ $(foo bar) != 'hello world' ]]
44 then err_exit 'foo bar, where foo is alias for "print hello " failed'
46 if [[ $(foo \bar) != 'hello bar' ]]
47 then err_exit 'foo \bar, where foo is alias for "print hello " faile
[all...]
H A Dbasic.sh207 print ./b > ./a; print ./c > b; print ./d > c; print ./e > d; print "echo \"hello there\"" > e
210 if [[ $x != "hello there" ]]
214 if [[ $x != "hello there" ]]
224 x=$(print hello)
225 if [[ $x != hello ]]
232 /bin/echo hello
235 if [[ $x != $'\n'hello ]]
238 x=$( (/bin/echo hello) 2> /dev/null )
239 if [[ $x != hello ]]
354 then [[ $(cat <(print hello) )
[all...]
H A Drestricted.sh53 [[ $(rksh -c 'print hello') == hello ]] || err_exit 'unable to run print'
63 print 'echo hello' > script
67 print '/bin/echo hello' > script
69 print 'echo hello> file' > script
75 print hello
H A Dio.sh141 print hello
147 [[ $( $SHELL ./script) == $'hello\nworld' ]] || err_exit 'closing 3 & 4 causes script to fail'
207 if [[ $newio && $(print hello | while read -u$n; do print $REPLY; done {n}<&0) != hello ]]
211 hello
292 hello world
293 EOF) == 'hello world' ]] || err_exit 'invalid readahead on stdin'
296 print hello > $tmp/1
298 then let 1;[[ $(<$tmp/1) == hello ]] || err_exit '>; not preserving file on failure'
300 if ! $SHELL -c "sed -e 's/hello/hell
[all...]
H A Dreturn.sh154 print hello
157 if [[ $x != hello ]]
H A Dpty.sh164 u ^hello\r?\n$
175 w echo hello
176 u ^hello\r?\n$
194 u ^hello\r?\n$
376 c echo hello\E
383 u ^hello world\r?\n$
H A Dattributes.sh169 w1=hello
197 hello worldhello worldhello world
219 export foo=hello
221 [[ $foo == hello ]] || err_exit 'export scoping problem in function'
224 [[ $(export | grep foo) == 'foo=hello' ]] || err_exit 'export not working in functions'
385 typeset -a -u s=( hello world chicken )
388 typeset -A -u s=( [1]=hello [0]=world [2]=chicken )
401 do [[ "$( typeset + a1[$i] )" == '' ]] && a1[$i].text='hello'
403 [[ ${a1[70].text} == hello ]]
413 typeset -u PS1='hello
[all...]
H A Dcomvar.sh287 hello=ok
293 foo2.hello=notok foo2.yes.yex=no foo2.extra=yes.
308 typeset x=( typeset -a foo=( [1][3]=hello [9][2]="world" ) )
349 z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
350 z.bar[0]=hello
355 [0]=hello
363 [one]=hello
426 typeset -C -A hello=( [foo]=bar)
427 [[ $(typeset -p hello) == 'typeset -C -A hello
[all...]
H A Dnameref.sh40 foo=hello
57 if [[ ${.foo.bar} != hello ]]
58 then err_exit ".foo.bar=${.foo.bar} != hello"
92 [[ ${.sh.value} ]] && print hello
127 foo=hello
128 if [[ $bar != hello ]]
252 typeset var=( foo=hello)
257 ) == *foo=hello* ]] || err_exit 'unable to display compound variable from name reference of local variable'
479 nameref nr=c.a[hello]
480 [[ ${!nr} == "c.a[hello]" ]] || err_exi
[all...]
H A Dtreemove.sh77 node.one="hello"
91 node.one="hello"
99 [[ "${tree1.subtree["a_node"].one}" == "hello" ]] || err_exit "expected tree1.subtree[\"a_node\"].one == 'hello', got ${tree1.subtree["a_node"].one}"
111 typeset -T x_t=( hello=world )
H A Dfunctions.sh138 fun() /bin/echo hello
139 if [[ $(fun) != hello ]]
186 print hello
197 if [[ $(foo) != hello ]]
771 [[ $(foo=hello g) == hellobam ]] || err_exit 'function exports not passed on'
772 [[ $(bar=hello g) == bam ]] || err_exit 'function exports not overridden'
1052 print $'print hello\nprint world' > $tmp/foo
1055 [[ $val == $'hello\nworld' ]] || err_exit "processing compiled dot files not working correctly val=$val"
H A Dcoprocess.sh58 print -p "hello"
60 [[ $line == hello ]] || err_exit "$cat coprocessing fails"
62 print -u5 'hello again' || err_exit "write on $cat coprocess u5 fails"
64 [[ $line == 'hello again' ]] || err_exit "$cat coprocess after moving fds fails"
115 print -p $'print hello | '$cat$'\nprint '$exp
333 print -p "hello"
H A Dbuiltins.sh75 hello world
77 [[ $REPLY == 'hello world' ]] || err_exit "read builtin failed"
83 hello \
86 [[ $REPLY == 'hello world' ]] || err_exit "read continuation failed"
88 hello worldxfoobar
90 [[ $REPLY == 'hello world' ]] || err_exit "read builtin failed"
92 hello \
96 [[ $REPLY == 'hello world' ]] || err_exit "read continuation2 failed"
125 print -f "hello%nbar\n" size > /dev/null
135 $SHELL -c 'read x <<< hello'
[all...]
H A Dcomvario.sh131 # hello
143 foo="hello"
171 print "hello"
191 # Same as test 1 except one more compound var following the "hello"
196 # hello
208 foo="hello"
236 print "hello"
285 foo="hello"
638 $'print "( compound -A a1=( [\'hello world\']=( typeset -a x=( %keyword% ) ) ) ; compound -A a2=( [\'hello worl
[all...]
H A Dquoting2.sh100 x=hello
H A Dsubshell.sh38 z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
39 z.bar[0]=hello
44 [0]=hello
52 [one]=hello
263 print "hello world"
274 print "hello world"
H A Dquoting.sh99 x=hello
157 x=' hello world '
H A Doptions.sh39 if [[ $( ${SHELL-ksh} -s hello<<-\!
42 ) != hello ]]
53 [[ $($SHELL -D -c 'print hi; print $"hello"') == '"hello"' ]] || err_exit 'ksh -D not working'
H A Dtypes.sh385 [[ ${.sh.value} == hello ]] || err_exit "value=${.sh.value} should be hello"
389 v[4]="hello"
512 { $SHELL -c '(sleep 3;kill $$)& typeset -T x=( typeset -a s );compound c;x c.i;c.i.s[7][5][3]=hello;x c.j=c.i;[[ ${c.i} == "${c.j}" ]]';} 2> /dev/null
551 typeset a="hello"
559 exp='typeset -C b=(typeset -C -a ca=( [4]=(b_t b=(a_t b=(a=hello))));)'
597 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)));));))'
H A Dlocale.sh291 x=$"hello"
292 [[ $x == hello ]] || err_exit 'assignment of message strings not working'
335 x=$(printf "hello\u[20ac]\xee world")
336 [[ $(print -r -- "$x") == $'hello\u[20ac]\xee world' ]] || err_exit '%q with unicode and non-unicode not working'
/ast/src/lib/libz/
H A Dexample.c29 const char hello[] = "hello, hello!"; variable
30 /* "hello world" would be more standard, but the repeated "hello"
34 const char dictionary[] = "hello";
64 uLong len = (uLong)strlen(hello)+1;
66 err = compress(compr, &comprLen, (const Bytef*)hello, len);
74 if (strcmp((char*)uncompr, hello)) {
94 int len = (int)strlen(hello)
[all...]
/ast/src/cmd/INIT/
H A DMakefile49 :: RELEASE hosttype.tst p.c hello.c \
/ast/src/lib/libtk/
H A DMakefile95 library/demos/hello \
194 library/demos/hello \

Completed in 70 milliseconds

12