(command.CommandList children: [ (command.Simple blame_tok: <_Dbg_help_add_sub> more_env: [] words: [ {<_Dbg_help_add_sub>} {<show>} {<basename>} { (SQ <'show basename\n'> <'\n'> <'Show whether use short filenames\n'> <'\n'> <'See also \\"set basename\\".'> ) } {<1>} ] redirects: [] do_fork: T ) (command.ShFunction name_tok: <_Dbg_do_show_basename> name: _Dbg_do_show_basename body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.AndOr children: [ (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Unary op_id:Id.BoolUnary_n child:{($ Id.VSub_Number 1)}) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'label='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'label='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'label='> name:label) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <_Dbg_printf_nocr> more_env: [] words: [{<_Dbg_printf_nocr>} {(DQ <'%-12s: '>)} {<basename>}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) ] ops: [<Id.Op_DAmp _>] ) (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [ {<_Dbg_msg>} { (DQ (${ Id.VSub_Name label) <'Show short filenames (the basename) in debug output is'> ) } { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <_Dbg_onoff> more_env: [] words: [{<_Dbg_onoff>} {($ Id.VSub_DollarName _Dbg_set_basename)}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'onoff='> (DQ <on.>)}] redirects: [] do_fork: T ) (command.AndOr children: [ (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Unary op_id: Id.BoolUnary_z child: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_cmdloop_hooks> var_name: _Dbg_cmdloop_hooks bracket_op: (bracket_op.ArrayIndex expr:{(DQ <list>)}) right: <Id.Right_DollarBrace '}'> ) } ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'onoff='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'onoff='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'onoff='> name:onoff) op: assign_op.Equal rhs: {(SQ <off.>)} ) ] redirects: [] ) ] ops: [<Id.Op_DAmp _>] ) (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<0>}) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) ] )