(command.CommandList children: [ (command.FuncDef name: _reply_compgen_array body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(lhs_expr.LhsName name:i) op:Equal) (assign_pair lhs:(lhs_expr.LhsName name:wlist) op:Equal) ] ) (command.ForEach iter_name: i iter_words: [ { (word_part.BracedVarSub token: <VSub_Name COMPREPLY> prefix_op: VSub_Bang bracket_op: (bracket_op.WholeArray op_id:Arith_Star) ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:q) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(quote)} { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(printf)} {(Lit_Other '%') (q)} { (DQ (word_part.BracedVarSub token: <VSub_Name COMPREPLY> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithWord w: {($ VSub_DollarName '$i')} ) ) ) ) } ) ] ) left_token: <Left_CommandSub '$('> ) ) } ) ] ) left_token: <Left_CommandSub '$('> ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:wlist) op: PlusEqual rhs: {($ VSub_DollarName '$q') (word_part.SingleQuotedPart left: <Left_DollarSingleQuote "$'"> tokens: [<Char_OneChar '\\n'>] ) } ) ] ) ] ) ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:ecur) op: Equal rhs: {(DQ ($ VSub_DollarName '$cur'))} ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:ecur) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name ecur> suffix_op: (suffix_op.PatSub pat: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>)} replace: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteralPart token: <Lit_EscapedChar '\\\\'> ) } replace_mode: Lit_Slash ) ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:ecur) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name ecur> suffix_op: (suffix_op.PatSub pat: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar "\\'">)} replace: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteralPart token: <Lit_EscapedChar "\\'"> ) } replace_mode: Lit_Slash ) ) } ) ] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:oldifs) op: Equal rhs: {($ VSub_DollarName '$IFS')} ) ] ) (command.SimpleCommand words: [{(eval)} {(SQ <'COMPREPLY=(`compgen -W "$wlist" -- "${ecur}"`)'>)}] more_env: [ (env_pair name: IFS val: { (word_part.SingleQuotedPart left: <Left_DollarSingleQuote "$'"> tokens: [<Char_OneChar '\\n'>] ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IFS) op: Equal rhs: {($ VSub_DollarName '$oldifs')} ) ] ) ] ) ) (command.FuncDef name: __linux_fstab_unescape body: (command.BraceGroup children: [ (C {(eval)} {($ VSub_Number '$1') (Lit_Other '=') (DQ ("'") (word_part.BracedVarSub token: <VSub_Number 1> prefix_op: VSub_Bang suffix_op: (suffix_op.PatSub pat: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar "\\'">)} replace: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (047)} replace_mode: Lit_Slash ) ) ("'") ) } ) (C {(eval)} {($ VSub_Number '$1') (Lit_Other '=') (DQ ("'") (word_part.BracedVarSub token: <VSub_Number 1> prefix_op: VSub_Bang suffix_op: (suffix_op.PatSub pat: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>)} replace: {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (word_part.EscapedLiteralPart token: <Lit_EscapedChar '\\\\'> ) } replace_mode: Lit_Percent ) ) ("'") ) } ) (C {(eval)} { (DQ ($ VSub_Number '$1') ('=') (Lit_Other '$') ("'") (word_part.BracedVarSub token: <VSub_Number 1> prefix_op: VSub_Bang ) ("'") ) } ) ] ) ) (command.FuncDef name: _linux_fstab body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_None pairs: [(assign_pair lhs:(lhs_expr.LhsName name:COMPREPLY) op:Equal rhs:{(word_part.ArrayLiteralPart)})] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(lhs_expr.LhsName name:fs_spec) op:Equal) (assign_pair lhs:(lhs_expr.LhsName name:fs_file) op:Equal) (assign_pair lhs:(lhs_expr.LhsName name:fs_other) op:Equal) ] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:oldifs) op: Equal rhs: {(DQ ($ VSub_DollarName '$IFS'))} ) ] ) (command.WhileUntil keyword: <KW_While while> cond: [ (command.Sentence child: (C {(read)} {(-r)} {(fs_spec)} {(fs_file)} {(fs_other)}) terminator: <Op_Semi ';'> ) ] body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$fs_spec')} right: {(Lit_Other '[') (Lit_Pound '#') (Lit_Other ']') (Lit_Other '*') } ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Sentence child: (command.ControlFlow token:<ControlFlow_Continue continue>) terminator: <Op_Semi ';'> ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Number '$1')} right: {(BoolUnary_L -L)} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:fs_label) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name fs_spec> suffix_op: (suffix_op.PatSub pat: {('LABEL=')} replace_mode: Lit_Pound ) ) } ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobNEqual left: {($ VSub_DollarName '$fs_label')} right: {(DQ ($ VSub_DollarName '$fs_spec'))} ) ) terminator: <Op_Semi ';'> ) ] action: [ (C {(__linux_fstab_unescape)} {(fs_label)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IFS) op: Equal rhs: { (word_part.SingleQuotedPart left: <Left_DollarSingleQuote "$'"> tokens: [<Char_OneChar '\\0'>] ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [{(DQ ($ VSub_DollarName '$fs_label'))}] ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IFS) op: Equal rhs: {($ VSub_DollarName '$oldifs')} ) ] ) ] ) ] ) ] ) ] else_action: [ (C {(__linux_fstab_unescape)} {(fs_spec)}) (C {(__linux_fstab_unescape)} {(fs_file)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IFS) op: Equal rhs: { (word_part.SingleQuotedPart left: <Left_DollarSingleQuote "$'"> tokens: [<Char_OneChar '\\0'>] ) } ) ] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$fs_spec')} right: {(Lit_Other '*') (/) (Lit_Other '*')} ) ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [{(DQ ($ VSub_DollarName '$fs_spec'))}] ) } ) ] ) ] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$fs_file')} right: {(Lit_Other '*') (/) (Lit_Other '*')} ) ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [{(DQ ($ VSub_DollarName '$fs_file'))}] ) } ) ] ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IFS) op: Equal rhs: {($ VSub_DollarName '$oldifs')} ) ] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.LogicalAnd left: (bool_expr.WordTest w:{($ VSub_DollarName '$cur')}) right: (bool_expr.BoolBinary op_id: BoolBinary_GlobNEqual left: {($ VSub_DollarName '$cur')} right: {(/) (Lit_Other '*')} ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_Local pairs: [(assign_pair lhs:(lhs_expr.LhsName name:realcur) op:Equal)] ) (command.AndOr ops: [Op_DAmp Op_DPipe] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$cur')} right: {(Lit_Other '*') (/)} ) ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:realcur) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.SimpleCommand words: [ {(readlink)} {(-f)} {(DQ ($ VSub_DollarName '$cur') (.))} ] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) ] ) left_token: <Left_CommandSub '$('> ) (/) ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:realcur) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.SimpleCommand words: [{(readlink)} {(-f)} {(DQ ($ VSub_DollarName '$cur'))}] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) ] ) left_token: <Left_CommandSub '$('> ) } ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.WordTest w:{($ VSub_DollarName '$realcur')}) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:dirrealcur) op: Equal rhs: (word.EmptyWord) ) (assign_pair lhs: (lhs_expr.LhsName name:dircur) op: Equal rhs: (word.EmptyWord) ) (assign_pair lhs: (lhs_expr.LhsName name:basecur) op: Equal ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_DollarName '$cur')} right: {(Lit_Other '*') (/) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:dirrealcur) op: Equal rhs: { (DQ (word_part.BracedVarSub token: <VSub_Name realcur> suffix_op: (suffix_op.StringUnary op_id: VOp1_Percent arg_word: {(Lit_Slash /) ('*')} ) ) (/) ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:dircur) op: Equal rhs: { (DQ (word_part.BracedVarSub token: <VSub_Name cur> suffix_op: (suffix_op.StringUnary op_id: VOp1_Percent arg_word: {(Lit_Slash /) ('*')} ) ) (/) ) } ) ] ) ] ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:basecur) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name cur> suffix_op: (suffix_op.StringUnary op_id: VOp1_Pound arg_word: {(DQ ($ VSub_DollarName '$dircur'))} ) ) } ) ] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:i) op: Equal ) (assign_pair lhs: (lhs_expr.LhsName name:n) op: Equal rhs: { (word_part.BracedVarSub token: <VSub_Name COMPREPLY> prefix_op: VSub_Pound bracket_op: (bracket_op.WholeArray op_id:Lit_At) ) } ) ] ) (command.ForExpr init: (arith_expr.BinaryAssign op_id: Arith_Equal left: (lhs_expr.LhsName name:i) right: (arith_expr.ArithWord w:{(Lit_Digits 0)}) ) cond: (arith_expr.ArithBinary op_id: Arith_Less left: (arith_expr.ArithVarRef token:<Lit_ArithVarLike i>) right: (arith_expr.ArithWord w:{($ VSub_DollarName '$n')}) ) update: (arith_expr.UnaryAssign op_id: Node_PostDPlus child: (lhs_expr.LhsName name:i) ) body: (command.DoGroup children: [ (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.BoolBinary op_id: BoolBinary_GlobDEqual left: { (DQ (word_part.BracedVarSub token: <VSub_Name COMPREPLY> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithVarRef token: <Lit_ArithVarLike i> ) ) ) ) } right: {(DQ ($ VSub_DollarName '$realcur')) (Lit_Other '*')} ) ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY) op: PlusEqual rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (command.SimpleCommand words: [ {(cd)} { (DQ ($ VSub_DollarName '$dircur' ) ) } ] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(compgen)} {(-f)} {(-d)} {(-P)} { (DQ ($ VSub_DollarName '$dircur' ) ) } {(-X)} { (DQ ('!') (word_part.BracedVarSub token: <VSub_Name COMPREPLY> bracket_op: (bracket_op.ArrayIndex expr: (arith_expr.ArithVarRef token: < Lit_ArithVarLike i > ) ) suffix_op: (suffix_op.StringUnary op_id: VOp1_DPound arg_word: { (DQ ($ VSub_DollarName '$dirrealcur' ) ) } ) ) ) } {(--)} {(DQ ($ VSub_DollarName '$basecur'))} ) ] ) ] ) left_token: <Left_CommandSub '$('> ) } ] ) } ) ] ) ] ) ] ) ) ] ) ] ) ] ) ] ) (C {(_reply_compgen_array)}) ] ) ) (command.AndOr ops: [Op_DAmp] children: [ (command.FuncDef name: _umount body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs:(lhs_expr.LhsName name:cur) op:Equal) (assign_pair lhs:(lhs_expr.LhsName name:prev) op:Equal) (assign_pair lhs:(lhs_expr.LhsName name:words) op:Equal) (assign_pair lhs:(lhs_expr.LhsName name:cword) op:Equal) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(_init_completion)}) (command.ControlFlow token:<ControlFlow_Return return>) ] ) (command.Case to_match: {(DQ ($ VSub_DollarName '$prev'))} arms: [ (case_arm pat_list: [{(-t)}] action: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:split) op: Equal rhs: {(false)} ) ] ) (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 '?') (Lit_Other '*') (Lit_Comma ',') (Lit_Other '*') } ) ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:prev) op: Equal rhs: { (DQ (word_part.BracedVarSub token: <VSub_Name cur> suffix_op: (suffix_op.StringUnary op_id: VOp1_Percent arg_word: {(',*')} ) ) ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cur) op: Equal rhs: { (DQ (word_part.BracedVarSub token: <VSub_Name cur> suffix_op: (suffix_op.StringUnary op_id: VOp1_DPound arg_word: {('*,')} ) ) ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:split) op: Equal rhs: {(true)} ) ] ) ] ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ <'adfs affs autofs btrfs cifs coda\n'> < ' cramfs debugfs devpts efs ext2 ext3 ext4 fuse hfs hfsplus hpfs\n' > <' iso9660 jfs minix msdos ncpfs nfs nfs4 ntfs ntfs-3g proc qnx4\n'> < ' ramfs reiserfs romfs squashfs smbfs sysv tmpfs ubifs udf ufs\n' > <' umsdos usbfs vfat xfs'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> ) } ] ) } ) ] ) (C {(_fstypes)}) (command.AndOr ops: [Op_DAmp] children: [ (C {($ VSub_DollarName '$split')}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.BracedVarSub token: <VSub_Name COMPREPLY> bracket_op: (bracket_op.WholeArray op_id:Lit_At) suffix_op: (suffix_op.PatSub pat: {} replace: {($ VSub_DollarName '$prev') (',')} replace_mode: Lit_Pound ) ) } ] ) } ) ] ) ] ) (command.ControlFlow token: <ControlFlow_Return return> ) ] ) (case_arm pat_list: [{(-O)}] action: [(command.ControlFlow token:<ControlFlow_Return return>)] ) ] ) (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) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} { (SQ <'-V -h -v -n -r -d -i -a -t -O -f -l\n'> <' --no-canonicalize --fake'> ) } {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> ) } ] ) } ) ] ) (command.AndOr ops: [Op_DAmp] children: [ (command.DBracket expr: (bool_expr.WordTest w:{($ VSub_DollarName '$COMPREPLY')}) ) (command.ControlFlow token: <ControlFlow_Return return> ) ] ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DBracket expr: (bool_expr.BoolUnary op_id:BoolUnary_r child:{(/proc/mounts)}) ) terminator: <Op_Semi ';'> ) ] action: [ (command.SimpleCommand words: [{(_linux_fstab)}] redirects: [ (redir.Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {(/proc/mounts)} ) ] ) ] ) ] else_action: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IFS) op: Equal rhs: { (word_part.SingleQuotedPart left: <Left_DollarSingleQuote "$'"> tokens: [<Char_OneChar '\\n'>] ) } ) ] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:COMPREPLY) op: Equal rhs: { (word_part.ArrayLiteralPart words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(compgen)} {(-W)} {(SQ <'$( mount | cut -d" " -f 3 )'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))} ) ] ) left_token: <Left_CommandSub '$('> ) } ] ) } ) ] ) ] ) ] ) ) (C {(complete)} {(-F)} {(_umount)} {(-o)} {(dirnames)} {(umount)}) ] ) ] )