Home
last modified time | relevance | path

Searched refs:SHELL (Results 1 – 25 of 235) sorted by relevance

12345678910

/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Doptions.sh39 if [[ $( ${SHELL-ksh} -s hello<<-\!
43 then err_exit "${SHELL-ksh} -s not working"
53 [[ $($SHELL -D -c 'print hi; print $"hello"') == '"hello"' ]] || err_exit 'ksh -D not working'
63 got=$($SHELL -E -c : 2>/dev/null)
69 got=$($SHELL -E -c : 2>&1 >/dev/null)
80 [[ $(print env_hit | $SHELL 2>&1) == "OK" ]] &&
82 [[ $(print env_hit | $SHELL -E 2>&1) == "OK" ]] &&
84 [[ $(print env_hit | $SHELL +E 2>&1) == "OK" ]] &&
86 [[ $(print env_hit | $SHELL --rc 2>&1) == "OK" ]] &&
88 [[ $(print env_hit | $SHELL
[all...]
H A Dlocale.sh37 a=$($SHELL -c '/' 2>&1 | sed -e "s,.*: *,," -e "s, *\[.*,,")
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, *\[.*,,")
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)
87 u=$(LC_ALL=$locale PS4='+$LINENO+ ' $SHELL -x -c "
99 u=$(LC_ALL=$locale $SHELL -c $'printf "%04x\n" \$\'\"\303\274\"\' \$\'\"\xE2\x82\xAC\"\'')
103 if (( $($SHELL -c $'export LC_ALL='$locale$'; 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 ))
104 then LC_ALL=$locale $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'
107 #$SHELL
[all...]
H A Dbasic.sh61 [[ $SHELL != /* ]] && SHELL=$pwd/$SHELL
119 #! $SHELL
230 x=$(cat <<\! | $SHELL
236 then err_exit "$SHELL not working when standard input is a pipe"
246 if [[ $($SHELL $tmp/script <&-) != done ]]
256 if [[ $($SHELL $tmp/script) != good ]]
264 if [[ $($SHELL $tmp/script <<!
321 [[ $($SHELL
[all...]
H A Dbuiltins.sh135 $SHELL -c 'read x <<< hello' 2> /dev/null || err_exit 'syntax <<< not recognized'
136 ($SHELL -c 'read x[1] <<< hello') 2> /dev/null || err_exit 'read x[1] not working'
187 $SHELL -c "cd $tmp/a/b; cd c" 2>/dev/null || err_exit "initial script relative cd fails"
197 [[ $($SHELL -c 'trap "print ok" SIGTERM; kill -s SIGTERM $$' 2> /dev/null) == ok ]] || err_exit 'SIGTERM not recognized'
198 [[ $($SHELL -c 'trap "print ok" sigterm; kill -s sigterm $$' 2> /dev/null) == ok ]] || err_exit 'SIGTERM not recognized'
199 [[ $($SHELL -c '( trap "" TERM);kill $$;print bad' == bad) ]] 2> /dev/null && err_exit 'trap ignored in subshell causes it to be ignored by parent'
200 ${SHELL} -c 'kill -1 -$$' 2> /dev/null
202 ${SHELL} -c 'kill -1 -$$' 2> /dev/null
204 ${SHELL} -c 'kill -s HUP -$$' 2> /dev/null
252 #FIXME#($SHELL rea
[all...]
H A Dsubshell.sh109 do $SHELL -c '
123 do $SHELL -c '
171 do for TEST_shell in "eval" "$SHELL -c"
173 then err_exit "${TEST_shell/*-c/\$SHELL -c} ${TEST_unset:+unset }${TEST_fork:+fork }$txt print failed"
177 err_exit "${TEST_shell/*-c/\$SHELL -c} ${TEST_unset:+unset }${TEST_fork:+fork }$txt command substitution failed -- expected $EXP, got $GOT"
184 r=$( ($SHELL -c '
211 r=$($SHELL -c '
228 $SHELL -c '( autoload xxxxx);print -n' || err_exit 'autoloaded functions in subshells can cause failure'
229 foo=$($SHELL <<- ++EOF++
236 $SHELL
[all...]
H A Dheredoc.sh79 $SHELL -c "
103 $SHELL -c '
121 $SHELL "$f" > /dev/null || err_exit "large here-doc with command substitution fails"
127 $SHELL -c 'x=$(
135 if x=$($SHELL -c 'cat <<< "hello world"' 2> /dev/null)
137 x=$($SHELL -c 'v="hello world";cat <<< $v' 2> /dev/null)
139 x=$($SHELL -c 'v="hello world";cat <<< "$v"' 2> /dev/null)
176 if [[ $($SHELL "$f") != abc ]]
209 if [[ $($SHELL "$f") != foobar ]]
213 [[ $($SHELL "
[all...]
H A Drestricted.sh36 case $SHELL in
38 */*) SHELL=$pwd/$SHELL;;
39 *) SHELL=$(whence "$SHELL");;
48 [[ $SHELL != /* ]] && SHELL=$pwd/$SHELL
50 ln -s $SHELL rksh
56 check_restricted 'SHELL
[all...]
H A Dsigchld.sh32 s=$($SHELL -c '
50 $SHELL -c : > /dev/null # foreground does not generate SIGCHLD
71 got=$($SHELL -c '
87 got=$($SHELL -c '
114 got=$( ( sleep 1;print $'\n') | $SHELL -c 'function handler { : ;}
121 $SHELL -xc $'
151 x=$($SHELL 2> /dev/null -ic '/bin/notfound; sleep .5 & sleep 1;jobs')
153 x=$($SHELL 2> /dev/null -ic 'kill -0 12345678901234567876; sleep .5 & sleep 1;jobs')
157 x=$($SHELL -c "echo | $tmp/foobar")
H A Dbracket.sh179 if [[ -u $SHELL ]]
180 then err_exit "setuid on $SHELL"
182 if [[ -g $SHELL ]]
183 then err_exit "setgid on $SHELL"
238 $SHELL -c 't=1234567890; [[ $t == @({10}(\d)) ]]' 2> /dev/null || err_exit ' @({10}(\d)) pattern not working'
239 $SHELL -c '[[ att_ == ~(E)(att|cus)_.* ]]' 2> /dev/null || err_exit ' ~(E)(att|cus)_* pattern not working'
240 $SHELL -c '[[ att_ =~ (att|cus)_.* ]]' 2> /dev/null || err_exit ' =~ ere not working'
241 $SHELL -c '[[ abc =~ a(b)c ]]' 2> /dev/null || err_exit '[[ abc =~ a(b)c ]] fails'
242 $SHELL -xc '[[ abc =~ \babc\b ]]' 2> /dev/null || err_exit '[[ abc =~ \babc\b ]] fails'
246 e=$($SHELL
[all...]
H A Dsignal.sh55 $SHELL 2> out2 <<- \EOF
97 # d call next script directly, otherwise via $SHELL -c
265 tst $SHELL > tst.got
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'
285 $SHELL <<- EOF
302 $SHELL 2> /dev/null -c 'sleep 2 && kill $$ & trap "print done; exit 3" EXIT; (sleep 5); print finished' > $tmp/sig
310 $SHELL 2> /dev/null -c 'sleep 2 && kill $$ & trap "print done; exit 3" EXIT; sleep 5; print finished' > $tmp/sig
318 { $SHELL 2> /dev/null -c 'sleep 2 && kill $$ & trap "print done; exit 3" EXIT; (sleep 5); print finished' > $tmp/sig ;} 2> /dev/null
326 { $SHELL
[all...]
H A Dio.sh129 $SHELL -c '
147 [[ $( $SHELL ./script) == $'hello\nworld' ]] || err_exit 'closing 3 & 4 causes script to fail'
193 [[ $($SHELL $tmp/1) == ok ]] || err_exit "parent i/o causes child script to fail"
264 if $SHELL -c '{n}</dev/null' 2> /dev/null
269 $SHELL -ic '
282 $SHELL -c "{ > $tmp/1 ; date;} >&- 2> /dev/null" > $tmp/2
284 $SHELL -c "$SHELL -c ': 3>&1' 1>&- 2>/dev/null" && err_exit 'closed standard output not passed to subshell'
285 [[ $(cat <<- \EOF | $SHELL
294 $SHELL
[all...]
/titanic_51/usr/src/lib/libshell/common/tests/
H A Doptions.sh39 if [[ $( ${SHELL-ksh} -s hello<<-\!
53 [[ $($SHELL -D -c 'print hi; print $"hello"') == '"hello"' ]] || err_exit 'ksh -D not working'
63 got=$($SHELL -E -c : 2>/dev/null)
69 got=$($SHELL -E -c : 2>&1 >/dev/null)
80 [[ $(print env_hit | $SHELL 2>&1) == "OK" ]] &&
82 [[ $(print env_hit | $SHELL -E 2>&1) == "OK" ]] &&
84 [[ $(print env_hit | $SHELL +E 2>&1) == "OK" ]] &&
86 [[ $(print env_hit | $SHELL --rc 2>&1) == "OK" ]] &&
88 [[ $(print env_hit | $SHELL --norc 2>&1) == "OK" ]] &&
91 [[ $(print env_hit | $SHELL 2>&1) == "OK" ]] &&
[all …]
H A Dsun_solaris_cr_6713682_compound_var_bleeds_through_subshell.sh70 var1="$(${SHELL} -c 'unset l ; ( l=( a=1 b="BE" ) ; print "$l" ) ; print $l')" || err…
71 var2="$(${SHELL} -c 'unset l ; ( ulimit -c 0 ; l=( a=1 b="BE" ) ; print "$l" ) ; print $l')" || err…
75 var1="$(${SHELL} -c '( l=( a=1 b="BE" ) ; print "$l" ) ; print $l')" || err_exit "Non…
76 var2="$(${SHELL} -c '( ulimit -c 0 ; l=( a=1 b="BE" ) ; print "$l" ) ; print $l')" || err_exit "Non…
80 var1="$(${SHELL} -c 'unset l ; ( compound l ; l.a=1 ; l.b="BE" ; print "$l" ) ; print…
81 var2="$(${SHELL} -c 'unset l ; ( ulimit -c 0 ; compound l ; l.a=1 ; l.b="BE" ; print "$l" ) ; print…
85 var1="$(${SHELL} -c '( compound l ; l.a=1 ; l.b="BE" ; print "$l" ) ; print $l')" || err_exi…
86 var2="$(${SHELL} -c '( ulimit -c 0 ; compound l ; l.a=1 ; l.b="BE" ; print "$l" ) ; print $l')" || …
90 var1="$(${SHELL} -c 'unset l ; ( l=( a=1 b="BE" ) ; printf "%B\n" l ) ; printf "%B\n"…
91 var2="$(${SHELL} -c 'unset l ; ( ulimit -c 0 ; l=( a=1 b="BE" ) ; printf "%B\n" l ) ; printf "%B\n"…
[all …]
H A Dsun_solaris_cr_6753538_subshell_leaks_umask.sh59 x=$(${SHELL} -c 'umask 22; (umask 0); umask')
62 x=$(${SHELL} -c 'umask 20; (umask 0); umask')
65 x=$(${SHELL} -c 'umask 0; (umask 22); umask')
72 x=$(${SHELL} -c 'umask 22; ( (umask 10); umask 0); umask')
75 x=$(${SHELL} -c 'umask 20; ( (umask 10); umask 0); umask')
78 x=$(${SHELL} -c 'umask 0; ( (umask 10); umask 22); umask')
86 x=$(${SHELL} -c 'umask 22; ( umask 0); umask') || err_exit "shell failed."
87 y=$(${SHELL} -c 'umask 22; (ulimit -c 0 ; umask 0); umask') || err_exit "shell failed."
90 x=$(${SHELL} -c 'umask 20; ( umask 0); umask') || err_exit "shell failed."
91 y=$(${SHELL} -c 'umask 20; (ulimit -c 0 ; umask 0); umask') || err_exit "shell failed."
[all …]
H A Dbasic.sh61 [[ $SHELL != /* ]] && SHELL=$pwd/$SHELL
228 x=$(cat <<\! | $SHELL
234 then err_exit "$SHELL not working when standard input is a pipe"
244 if [[ $($SHELL $tmp/script <&-) != done ]]
254 if [[ $($SHELL $tmp/script) != good ]]
262 if [[ $($SHELL $tmp/script <<!
319 [[ $($SHELL -c 'trap "" HUP; $SHELL -c "(sleep 2;kill -HUP $$)& sleep 4;print done"') != done ]] &&…
320 [[ $($SHELL -c 'o=foobar; for x in foo bar; do (o=save);print $o;done' 2> /dev/null ) == $'foobar\n…
323 then [[ $($SHELL -c 'cat <(print foo)' 2> /dev/null) == foo ]] || err_exit 'process substitution no…
324 [[ $($SHELL -c $'tee >(grep \'1$\' > '$tmp/scriptx$') > /dev/null <<- \!!!
[all …]
H A Dheredoc.sh79 $SHELL -c "
103 $SHELL -c '
121 $SHELL "$f" > /dev/null || err_exit "large here-doc with command substitution fails"
127 $SHELL -c 'x=$(
135 if x=$($SHELL -c 'cat <<< "hello world"' 2> /dev/null)
137 x=$($SHELL -c 'v="hello world";cat <<< $v' 2> /dev/null)
139 x=$($SHELL -c 'v="hello world";cat <<< "$v"' 2> /dev/null)
176 if [[ $($SHELL "$f") != abc ]]
209 if [[ $($SHELL "$f") != foobar ]]
213 [[ $($SHELL "$f") == $'hello\n\tworld' ]] || err_exit "<<# not working for quoted here documents"
[all …]
H A Drestricted.sh36 case $SHELL in
38 */*) SHELL=$pwd/$SHELL;;
39 *) SHELL=$(whence "$SHELL");;
48 [[ $SHELL != /* ]] && SHELL=$pwd/$SHELL
50 ln -s $SHELL rksh
H A Dsun_solaris_cr_6778077_sigthaw_trap.sh62 ${SHELL} -o errexit -c 'trap "true" SIGTHAW ; true' || err_exit "SIGTHAW not supported."
63 ${SHELL} -o errexit -c 'trap "true" THAW ; true' || err_exit "THAW not supported."
64 ${SHELL} -o errexit -c 'trap "true" 35 ; true' || err_exit "signal 35 not supported."
69 ${SHELL} -o errexit -c 'trap "true" SIGFREEZE ; true' || err_exit "SIGFREEZE not supported."
70 ${SHELL} -o errexit -c 'trap "true" FREEZE ; true' || err_exit "FREEZE not supported."
71 ${SHELL} -o errexit -c 'trap "true" 34 ; true' || err_exit "signal 34 not supported."
76 …str="$( ${SHELL} -c "trap true $i ; print 'ok'" 2>&1 )" || err_exit "shell returned code $? for tr…
H A Dsun_solaris_command_substitution.sh99 ${SHELL} -o errexit -c "${currtst.cmd}" >"${tmpfile}.out" &
164 testout=${ printf "%B\n" testbody | sed 's/<CS>/$(/g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "comma…
168 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ /g;s/<CE>/ ; }/g' | ${SHELL} 2>&1 || err_exit "c…
172 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ulimit -c 0 ; /g;s/<CE>/)/g' | ${SHELL} 2>&1 || …
176 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ( /g;s/<CE>/) )/g' | ${SHELL} 2>&1 || err_exit "…
180 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ ( /g;s/<CE>/) ; }/g' | ${SHELL} 2>&1 || err_exit…
208 testout=${ printf "%B\n" testbody | sed 's/<CS>/$(/g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "comma…
212 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ /g;s/<CE>/ ; }/g' | ${SHELL} 2>&1 || err_exit "c…
216 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ulimit -c 0 ; /g;s/<CE>/)/g' | ${SHELL} 2>&1 || …
220 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ( /g;s/<CE>/) )/g' | ${SHELL} 2>&1 || err_exit "…
[all …]
H A Dio.sh129 $SHELL -c '
147 [[ $( $SHELL ./script) == $'hello\nworld' ]] || err_exit 'closing 3 & 4 causes script to fail'
193 [[ $($SHELL $tmp/1) == ok ]] || err_exit "parent i/o causes child script to fail"
264 if $SHELL -c '{n}</dev/null' 2> /dev/null
269 $SHELL -ic '
282 $SHELL -c "{ > $tmp/1 ; date;} >&- 2> /dev/null" > $tmp/2
284 $SHELL -c "$SHELL -c ': 3>&1' 1>&- 2>/dev/null" && err_exit 'closed standard output not passed to s…
285 [[ $(cat <<- \EOF | $SHELL
294 $SHELL -c 'exec 3>; /dev/null' 2> /dev/null && err_exit '>; with exec should be an error'
295 $SHELL -c ': 3>; /dev/null' 2> /dev/null || err_exit '>; not working with at all'
[all …]
H A Dbuiltins.sh135 $SHELL -c 'read x <<< hello' 2> /dev/null || err_exit 'syntax <<< not recognized'
136 ($SHELL -c 'read x[1] <<< hello') 2> /dev/null || err_exit 'read x[1] not working'
184 $SHELL -c "cd $tmp/a/b; cd c" 2>/dev/null || err_exit "initial script relative cd fails"
194 [[ $($SHELL -c 'trap "print ok" SIGTERM; kill -s SIGTERM $$' 2> /dev/null) == ok ]] || err_exit 'SI…
195 [[ $($SHELL -c 'trap "print ok" sigterm; kill -s sigterm $$' 2> /dev/null) == ok ]] || err_exit 'SI…
196 [[ $($SHELL -c '( trap "" TERM);kill $$;print bad' == bad) ]] 2> /dev/null && err_exit 'trap ignore…
197 ${SHELL} -c 'kill -1 -$$' 2> /dev/null
199 ${SHELL} -c 'kill -1 -$$' 2> /dev/null
201 ${SHELL} -c 'kill -s HUP -$$' 2> /dev/null
315 if [[ $($SHELL < $tmp/script) != hello ]]
[all …]
/titanic_51/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6713682_compound_var_bleeds_through_subshell.sh70 var1="$(${SHELL} -c 'unset l ; ( l=( a=1 b="BE" ) ; print "$l" ) ; print $l')" || err_exit "Non-zero exit code."
71 var2="$(${SHELL} -c 'unset l ; ( ulimit -c 0 ; l=( a=1 b="BE" ) ; print "$l" ) ; print $l')" || err_exit "Non-zero exit code."
75 var1="$(${SHELL} -c '( l=( a=1 b="BE" ) ; print "$l" ) ; print $l')" || err_exit "Non-zero exit code."
76 var2="$(${SHELL} -c '( ulimit -c 0 ; l=( a=1 b="BE" ) ; print "$l" ) ; print $l')" || err_exit "Non-zero exit code."
80 var1="$(${SHELL} -c 'unset l ; ( compound l ; l.a=1 ; l.b="BE" ; print "$l" ) ; print $l')" || err_exit "Non-zero exit code."
81 var2="$(${SHELL} -c 'unset l ; ( ulimit -c 0 ; compound l ; l.a=1 ; l.b="BE" ; print "$l" ) ; print $l')" || err_exit "Non-zero exit code."
85 var1="$(${SHELL} -c '( compound l ; l.a=1 ; l.b="BE" ; print "$l" ) ; print $l')" || err_exit "Non-zero exit code."
86 var2="$(${SHELL} -c '( ulimit -c 0 ; compound l ; l.a=1 ; l.b="BE" ; print "$l" ) ; print $l')" || err_exit "Non-zero exit code."
90 var1="$(${SHELL} -c 'unset l ; ( l=( a=1 b="BE" ) ; printf "%B\n" l ) ; printf "%B\n" l')" || err_exit "Non-zero exit code."
91 var2="$(${SHELL}
[all...]
H A Dsun_solaris_cr_6753538_subshell_leaks_umask.sh59 x=$(${SHELL} -c 'umask 22; (umask 0); umask')
62 x=$(${SHELL} -c 'umask 20; (umask 0); umask')
65 x=$(${SHELL} -c 'umask 0; (umask 22); umask')
72 x=$(${SHELL} -c 'umask 22; ( (umask 10); umask 0); umask')
75 x=$(${SHELL} -c 'umask 20; ( (umask 10); umask 0); umask')
78 x=$(${SHELL} -c 'umask 0; ( (umask 10); umask 22); umask')
86 x=$(${SHELL} -c 'umask 22; ( umask 0); umask') || err_exit "shell failed."
87 y=$(${SHELL} -c 'umask 22; (ulimit -c 0 ; umask 0); umask') || err_exit "shell failed."
90 x=$(${SHELL} -c 'umask 20; ( umask 0); umask') || err_exit "shell failed."
91 y=$(${SHELL}
[all...]
H A Dsun_solaris_cr_6778077_sigthaw_trap.sh62 ${SHELL} -o errexit -c 'trap "true" SIGTHAW ; true' || err_exit "SIGTHAW not supported."
63 ${SHELL} -o errexit -c 'trap "true" THAW ; true' || err_exit "THAW not supported."
64 ${SHELL} -o errexit -c 'trap "true" 35 ; true' || err_exit "signal 35 not supported."
69 ${SHELL} -o errexit -c 'trap "true" SIGFREEZE ; true' || err_exit "SIGFREEZE not supported."
70 ${SHELL} -o errexit -c 'trap "true" FREEZE ; true' || err_exit "FREEZE not supported."
71 ${SHELL} -o errexit -c 'trap "true" 34 ; true' || err_exit "signal 34 not supported."
76 str="$( ${SHELL} -c "trap true $i ; print 'ok'" 2>&1 )" || err_exit "shell returned code $? for trap $i"
H A Dsun_solaris_command_substitution.sh99 ${SHELL} -o errexit -c "${currtst.cmd}" >"${tmpfile}.out" &
164 testout=${ printf "%B\n" testbody | sed 's/<CS>/$(/g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
168 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ /g;s/<CE>/ ; }/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
172 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ulimit -c 0 ; /g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
176 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ( /g;s/<CE>/) )/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
180 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ ( /g;s/<CE>/) ; }/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
208 testout=${ printf "%B\n" testbody | sed 's/<CS>/$(/g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
212 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ /g;s/<CE>/ ; }/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
216 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ulimit -c 0 ; /g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
220 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ( /g;s/<CE>/) )/g' | ${SHELL}
[all...]

12345678910