(command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _minicom body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cur spids:[13]) op: Equal spids: [13] ) (assign_pair lhs: (lhs_expr.LhsName name:prev spids:[15]) op: Equal spids: [15] ) (assign_pair lhs: (lhs_expr.LhsName name:words spids:[17]) op: Equal spids: [17] ) (assign_pair lhs: (lhs_expr.LhsName name:cword spids:[19]) op: Equal spids: [19] ) ] spids: [11] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Case to_match: {($ VSub_DollarName '$prev')} arms: [ (case_arm pat_list: [{(-a)} {(-c)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[43]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'on off'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [46 62] ) } ] ) } spids: [43] ) ] spids: [43] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [37 40 72 16777215] ) (case_arm pat_list: [{(-S)} {(-C)}] action: [ (C {(_filedir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [75 78 89 16777215] ) (case_arm pat_list: [{(-P)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[96]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(printf)} {(SQ <'%s\\n'>)} {(/dev/tty) (Lit_Other '*')}) ] ) left_token: <Left_CommandSub '$('> spids: [99 110] ) } ] ) } spids: [96] ) ] spids: [96] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[115]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'${COMPREPLY[@]} ${COMPREPLY[@]#/dev/}'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [118 136] ) } ] ) } spids: [115] ) ] spids: [115] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [92 93 146 16777215] ) ] spids: [30 34 149] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_DollarName '$cur'))} right: {(-) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[173]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ < '-s -o -m -M -z -l -L -w -a -t -c -S -d -p -C\n' > <' -T -7 -8'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [176 193] ) } ] ) } spids: [173] ) ] spids: [173] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [16777215 170] ) ] else_action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY spids:[206]) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.SimpleCommand words: [ {(command)} {(ls)} {(/etc/minirc.) (Lit_Other '*')} {(/etc/minicom/minirc.) (Lit_Other '*')} {(word_part.TildeSubPart token:<Lit_TildeLike '~'>) (/.minirc.) (Lit_Other '*') } ] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(sed)} {(SQ <'s|^.*minirc\\.||'>)}) (C {(grep)} {(DQ ('^') (${ VSub_Name cur))}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [210 252] ) } ] ) } spids: [206] ) ] spids: [206] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.WordTest w:{($ VSub_DollarName '$COMPREPLY')}) ) (command.ControlFlow token:<ControlFlow_Return return>) ] ) ] spids: [203 268] ) ] spids: [8] ) spids: [4 7] ) (C {(complete)} {(-F)} {(_minicom)} {(-o)} {(default)} {(minicom)}) ] )