(command.CommandList children: [ (command.Simple blame_tok: <_Dbg_help_add_sub> more_env: [] words: [ {<_Dbg_help_add_sub>} {<info>} {<signals>} { (DQ <'**info signals**\n'> <'\n'> <'Show what debugger does when program gets various signals.\n'> <'\n'> <'See also:\n'> <'---------\n'> <'\n'> <' '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') <signal> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') <.> ) } {<1>} ] redirects: [] do_fork: T ) (command.ShFunction keyword: <Id.KW_Function function> name_tok: <_Dbg_do_info_signals> name: _Dbg_do_info_signals body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'i='> <0>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<signal_name>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<handler>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<stop_flag>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<print_flag>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [{<_Dbg_msg>} {(DQ <'Signal Stop Print Stack Value'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_printf_nocr> more_env: [] words: [ {<_Dbg_printf_nocr>} {(DQ <'%-12s %-6s %-7s %-9s '>)} {<EXIT>} { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_sig_stop> var_name: _Dbg_sig_stop bracket_op: (bracket_op.ArrayIndex expr:{<Id.Lit_Digits 0>}) suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<nostop>}) right: <Id.Right_DollarBrace '}'> ) } { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_sig_print> var_name: _Dbg_sig_print bracket_op: (bracket_op.ArrayIndex expr:{<Id.Lit_Digits 0>}) suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<noprint>}) right: <Id.Right_DollarBrace '}'> ) } { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_sig_show_stack> var_name: _Dbg_sig_show_stack bracket_op: (bracket_op.ArrayIndex expr:{<Id.Lit_Digits 0>}) suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<nostack>}) right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Unary op_id: Id.BoolUnary_n child: {($ Id.VSub_DollarName _Dbg_tty)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <builtin> more_env: [] words: [{<builtin>} {<trap>} {<-p>} {<0>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_tty)} ) ] do_fork: T ) ] spids: [178 190] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <builtin> more_env: [] words: [{<builtin>} {<trap>} {<-p>} {<0>}] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: {<Id.Lit_Digits 1>} right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.AndOr children: [ (command.ShAssignment left: <Id.Lit_VarLike 'signal_name='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'signal_name='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'signal_name='> name: signal_name ) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <builtin> more_env: [] words: [{<builtin>} {<kill>} {<-l>} {($ Id.VSub_DollarName i)}] redirects: [ (Redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.ControlFlow keyword: <Id.ControlFlow_Break break> ) ] ops: [<Id.Op_DPipe _>] ) (command.ShAssignment left: <Id.Lit_VarLike 'handler='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'handler='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'handler='> name:handler) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <builtin> more_env: [] words: [{<builtin>} {<trap>} {<-p>} {($ Id.VSub_DollarName i)}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Unary op_id: Id.BoolUnary_n child: {($ Id.VSub_DollarName handler)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_printf> more_env: [] words: [ {<_Dbg_printf>} {(DQ <'%-12s %-6s %-7s %-9s %-6s'>)} {($ Id.VSub_DollarName signal_name)} { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_sig_stop> var_name: _Dbg_sig_stop bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName i)}) suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {<nostop>} ) right: <Id.Right_DollarBrace '}'> ) } { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_sig_print> var_name: _Dbg_sig_print bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName i)}) suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {<noprint>} ) right: <Id.Right_DollarBrace '}'> ) } { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_sig_show_stack> var_name: _Dbg_sig_show_stack bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName i)}) suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {<nostack>} ) right: <Id.Right_DollarBrace '}'> ) } {(DQ ($ Id.VSub_DollarName handler))} ] redirects: [] do_fork: T ) ] spids: [266 278] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: ($ Id.Lit_ArithVarLike i) ) right: <Id.Op_DRightParen _> redirects: [] ) ] right: <Id.KW_Done done> ) redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) ] )