(CommandList children: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$OSTYPE')} right: {(Lit_Other '*') (linux) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (C {(.)} {(DQ ($ VSub_Name '$BASH_SOURCE') (.linux))}) (ControlFlow token:<ControlFlow_Return return>) ] spids: [16777215 19] ) ] spids: [16777215 32] ) (AndOr children: [ (FuncDef name: _mount body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(LhsName name:cur) op:Equal spids:[62]) (assign_pair lhs:(LhsName name:prev) op:Equal spids:[64]) (assign_pair lhs:(LhsName name:words) op:Equal spids:[66]) (assign_pair lhs:(LhsName name:cword) op:Equal spids:[68]) ] spids: [60] ) (AndOr children: [ (C {(_init_completion)} {(-n)} {(Lit_Other ':')}) (ControlFlow token:<ControlFlow_Return return>) ] op_id: Op_DPipe ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(LhsName name:sm) op:Equal spids:[85]) (assign_pair lhs:(LhsName name:host) op:Equal spids:[87]) ] spids: [83] ) (Case to_match: {($ VSub_Name '$prev')} arms: [ (case_arm pat_list: [{(-t)} {(--types)}] action: [ (C {(_fstypes)}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [98 101 112 16777215] ) ] spids: [91 95 115] ) (AndOr children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$cur'))} right: {(EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>)} ) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cur) op: Equal rhs: {(DQ (/))} spids: [133] ) ] spids: [133] ) ] op_id: Op_DAmp ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$cur'))} right: {(Lit_Other '*') (Lit_Other ':') (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (ForEach iter_name: sm iter_words: [ { (DQ (CommandSubPart command_list: (CommandList children: [(C {(type)} {(-P)} {(showmount)})] ) left_token: <Left_CommandSub '$('> spids: [167 173] ) ) } (BracedWordTree parts: [ (BracedAltPart words:[{} {(/usr)}]) (/) (BracedAltPart words:[{} {(s)}]) (bin/showmount) ] ) ] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (DBracket expr: (BoolUnary op_id:BoolUnary_x child:{($ VSub_Name '$sm')}) ) (ControlFlow token: <ControlFlow_Continue continue> ) ] op_id: Op_DPipe ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-W)} { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(DQ ($ VSub_Name '$sm'))} {(-e)} { (BracedVarSub token: <VSub_Name cur> suffix_op: (StringUnary op_id: VOp1_DPercent arg_word: {(':*')} ) spids: [222 226] ) } ) (C {(awk)} { (SQ <'NR>1 {print $1}'>) } ) ] negated: False ) ] ) left_token: <Left_CommandSub '$('> spids: [214 238] ) ) } {(--)} { (DQ (BracedVarSub token: <VSub_Name cur> suffix_op: (StringUnary op_id: VOp1_Pound arg_word: {('*:')} ) spids: [244 248] ) ) } ) ] ) left_token: <Left_CommandSub '$('> spids: [207 251] ) } ] ) } spids: [204] ) ] spids: [204] ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] spids: [188 261] ) spids: [165 186] ) ] spids: [16777215 157] ) ] spids: [16777215 264] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$cur'))} right: {(//) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: { (BracedVarSub token: <VSub_Name cur> suffix_op: (StringUnary op_id: VOp1_Pound arg_word: {(Lit_Slash /) (Lit_Slash /)} ) spids: [288 293] ) } spids: [287] ) ] spids: [287] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:host) op: Equal rhs: { (BracedVarSub token: <VSub_Name host> suffix_op: (StringUnary op_id: VOp1_DPercent arg_word: {(Lit_Slash /) ('*')} ) spids: [297 302] ) } spids: [296] ) ] spids: [296] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolUnary op_id:BoolUnary_n child:{($ VSub_Name '$host')}) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-P)} {(DQ (//) ($ VSub_Name '$host'))} {(-W)} { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {(smbclient)} {(-d)} {(0)} {(-NL)} { ($ VSub_Name '$host') } ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [350] ) ] ) (C {(sed)} {(-ne)} {(SQ <'/^['>) (DQ (Lit_Other '$') ("'") (Lit_Other '\\') ("t '") ) (SQ <']*Sharename/,/^$/p'>) } ) (C {(sed)} {(-ne)} { (SQ < '3,$s|^[^A-Za-z]*\\([^' > ) (DQ (Lit_Other '$') ("'") (Lit_Other '\\') ("t '")) (SQ <']*\\).*$|/\\1|p'>) } ) ] negated: False ) ] ) left_token: <Left_CommandSub '$('> spids: [338 393] ) ) } {(--)} { (DQ (BracedVarSub token: <VSub_Name cur> suffix_op: (StringUnary op_id: VOp1_Pound arg_word: {(Lit_Slash /) (Lit_Slash /) ($ VSub_Name '$host') } ) spids: [401 407] ) ) } ) ] ) left_token: <Left_CommandSub '$('> spids: [322 410] ) } ] ) } spids: [319] ) ] spids: [319] ) ] spids: [16777215 316] ) ] spids: [16777215 415] ) ] spids: [16777215 284] ) (if_arm cond: [ (Sentence child: (DBracket expr:(BoolUnary op_id:BoolUnary_r child:{(/etc/vfstab)})) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-W)} { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(awk)} { (SQ < '! /^[ \\t]*#/ {if ($3 ~ /\\//) print $3}' > ) } {(/etc/vfstab)} ) ] ) left_token: <Left_CommandSub '$('> spids: [446 456] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [439 465] ) } ] ) } spids: [436] ) ] spids: [436] ) ] spids: [418 429] ) (if_arm cond: [ (Sentence child: (DBracket expr: (LogicalNot child: (BoolUnary op_id:BoolUnary_e child:{(/etc/fstab)}) ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-W)} { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {($ VSub_Number '$1')}) (C {(awk)} { (SQ < '! /^[ \\t]*#/ {if ($3 ~ /\\//) print $3}' > ) } ) ] negated: False ) ] ) left_token: <Left_CommandSub '$('> spids: [500 512] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [493 521] ) } ] ) } spids: [490] ) ] spids: [490] ) ] spids: [470 483] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:COMPREPLY) op: Equal rhs: { (ArrayLiteralPart words: [ { (CommandSubPart command_list: (CommandList children: [ (C {(compgen)} {(-W)} { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(awk)} { (SQ < '! /^[ \\t]*#/ {if ($2 ~ /\\//) print $2}' > ) } {(/etc/fstab)} ) ] ) left_token: <Left_CommandSub '$('> spids: [543 553] ) ) } {(--)} {(DQ ($ VSub_Name '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [536 562] ) } ] ) } spids: [533] ) ] spids: [533] ) ] spids: [526 567] ) ] spids: [57] ) spids: [53 56] ) (C {(complete)} {(-F)} {(_mount)} {(-o)} {(default)} {(-o)} {(dirnames)} {(mount)}) ] op_id: Op_DAmp ) ] )