#!../../bash # $Id: multi.sh,v 1.1 2008/08/22 19:25:06 rockyb Exp $ # Test debugger handling of lines with multiple commands per line # and subshells in a line setglobal x = '1'; setglobal y = '2'; setglobal z = '3' shell {builtin cd . ; setglobal x = $[builtin echo *]; shell {builtin echo "ho"} } match $[builtin echo "testing"; builtin echo 1,2,3],$[builtin echo 1,2,3] { with *c*,-n* setglobal ECHO_N = '', ECHO_C = '' ',' ECHO_T = '' '' with *c*,* setglobal ECHO_N = '-n', ECHO_C = '', ECHO_T = '' with * setglobal ECHO_N = '', ECHO_C = ''\c',' ECHO_T = '' } shell {builtin cd . ; setglobal x = $[builtin echo *]; shell {builtin echo "ho"} } setglobal x = '5'; setglobal y = '6';