(command.CommandList
  children: [
    (command.AndOr
      children: [
        (command.DBracket
          left: <Id.KW_DLeftBracket '[['>
          expr: 
            (bool_expr.Binary
              op_id: Id.BoolBinary_GlobDEqual
              left: {($ Id.VSub_DollarName OSTYPE)}
              right: 
                {<Id.Lit_Other '*'> 
                  (word_part.ExtGlob
                    op: <Id.ExtGlob_At '@('>
                    arms: [{<darwin>} {<freebsd>} {<solaris>} {<cygwin>} {<openbsd>}]
                    right: <Id.Right_ExtGlob _>
                  ) <Id.Lit_Other '*'>
                }
            )
          right: <Id.Lit_DRightBracket ']]'>
          redirects: []
        )
        (command.Simple
          blame_tok: <_userland>
          more_env: []
          words: [{<_userland>} {<GNU>}]
          redirects: []
          do_fork: T
        )
        (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<1>})
      ]
      ops: [<Id.Op_DPipe _> <Id.Op_DPipe _>]
    )
    (command.AndOr
      children: [
        (command.ShFunction
          name_tok: <_man>
          name: _man
          body: 
            (BraceGroup
              left: <Id.Lit_LBrace '{'>
              children: [
                (command.Simple
                  blame_tok: <local>
                  more_env: []
                  words: [{<local>} {<cur>} {<prev>} {<words>} {<cword>} {<split>}]
                  redirects: []
                  do_fork: T
                )
                (command.AndOr
                  children: [
                    (command.Simple
                      blame_tok: <_init_completion>
                      more_env: []
                      words: [{<_init_completion>} {<-s>} {<-n>} {<Id.Lit_Colon ':'>}]
                      redirects: []
                      do_fork: T
                    )
                    (command.ControlFlow keyword:<Id.ControlFlow_Return return>)
                  ]
                  ops: [<Id.Op_DPipe _>]
                )
                (command.Simple
                  blame_tok: <local>
                  more_env: []
                  words: [{<local>} {<Id.Lit_VarLike 'comprsuffix='> (DQ <'.@([glx]z|bz2|lzma|Z)'>)}]
                  redirects: []
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <local>
                  more_env: []
                  words: [
                    {<local>}
                    {<Id.Lit_VarLike 'manext='> 
                      (DQ <'@([0-9lnp]|[0-9][px]|man|3?(gl|pm))?('> ($ Id.VSub_DollarName comprsuffix) 
                        <')'>
                      )
                    }
                  ]
                  redirects: []
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <local>
                  more_env: []
                  words: [
                    {<local>}
                    {<Id.Lit_VarLike 'mansect='> (DQ <'@([0-9lnp]|[0-9][px]|3?(gl|pm))'>)}
                  ]
                  redirects: []
                  do_fork: T
                )
                (command.Case
                  case_kw: <Id.KW_Case case>
                  to_match: (case_arg.Word w:{($ Id.VSub_DollarName prev)})
                  arms_start: <Id.KW_In in>
                  arms: [
                    (CaseArm
                      left: <-C>
                      pattern: (pat.Words words:[{<-C>} {<--config-file>}])
                      middle: <Id.Right_CasePat _>
                      action: [
                        (command.Simple
                          blame_tok: <_filedir>
                          more_env: []
                          words: [{<_filedir>} {<conf>}]
                          redirects: []
                          do_fork: T
                        )
                        (command.ControlFlow
                          keyword: <Id.ControlFlow_Return return>
                        )
                      ]
                      right: <Id.Op_DSemi _>
                    )
                    (CaseArm
                      left: <-l>
                      pattern: (pat.Words words:[{<-l>} {<--local-file>}])
                      middle: <Id.Right_CasePat _>
                      action: [
                        (command.Simple
                          blame_tok: <_filedir>
                          more_env: []
                          words: [{<_filedir>} {(DQ ($ Id.VSub_DollarName manext))}]
                          redirects: []
                          do_fork: T
                        )
                        (command.ControlFlow
                          keyword: <Id.ControlFlow_Return return>
                        )
                      ]
                      right: <Id.Op_DSemi _>
                    )
                    (CaseArm
                      left: <-M>
                      pattern: (pat.Words words:[{<-M>} {<--manpath>}])
                      middle: <Id.Right_CasePat _>
                      action: [
                        (command.Simple
                          blame_tok: <_filedir>
                          more_env: []
                          words: [{<_filedir>} {<-d>}]
                          redirects: []
                          do_fork: T
                        )
                        (command.ControlFlow
                          keyword: <Id.ControlFlow_Return return>
                        )
                      ]
                      right: <Id.Op_DSemi _>
                    )
                    (CaseArm
                      left: <-P>
                      pattern: (pat.Words words:[{<-P>} {<--pager>}])
                      middle: <Id.Right_CasePat _>
                      action: [
                        (command.Simple
                          blame_tok: <compopt>
                          more_env: []
                          words: [{<compopt>} {<-o>} {<filenames>}]
                          redirects: []
                          do_fork: T
                        )
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'COMPREPLY='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'COMPREPLY='>
                              lhs: 
                                (sh_lhs_expr.Name
                                  left: <Id.Lit_VarLike 'COMPREPLY='>
                                  name: COMPREPLY
                                )
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (ShArrayLiteral
                                    left: <Id.Op_LParen _>
                                    words: [
                                      {
                                        (CommandSub
                                          left_token: <Id.Left_DollarParen '$('>
                                          child: 
                                            (command.Simple
                                              blame_tok: <compgen>
                                              more_env: []
                                              words: [
                                                {<compgen>}
                                                {<-c>}
                                                {<-->}
                                                {(DQ ($ Id.VSub_DollarName cur))}
                                              ]
                                              redirects: []
                                              do_fork: T
                                            )
                                          right: <Id.Eof_RParen _>
                                        )
                                      }
                                    ]
                                    right: <Id.Right_ShArrayLiteral _>
                                  )
                                }
                            )
                          ]
                          redirects: []
                        )
                        (command.ControlFlow
                          keyword: <Id.ControlFlow_Return return>
                        )
                      ]
                      right: <Id.Op_DSemi _>
                    )
                    (CaseArm
                      left: <-p>
                      pattern: (pat.Words words:[{<-p>} {<--preprocessor>}])
                      middle: <Id.Right_CasePat _>
                      action: [
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'COMPREPLY='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'COMPREPLY='>
                              lhs: 
                                (sh_lhs_expr.Name
                                  left: <Id.Lit_VarLike 'COMPREPLY='>
                                  name: COMPREPLY
                                )
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (ShArrayLiteral
                                    left: <Id.Op_LParen _>
                                    words: [
                                      {
                                        (CommandSub
                                          left_token: <Id.Left_DollarParen '$('>
                                          child: 
                                            (command.Simple
                                              blame_tok: <compgen>
                                              more_env: []
                                              words: [
                                                {<compgen>}
                                                {<-W>}
                                                {(SQ <'e p t g r v'>)}
                                                {<-->}
                                                {(DQ ($ Id.VSub_DollarName cur))}
                                              ]
                                              redirects: []
                                              do_fork: T
                                            )
                                          right: <Id.Eof_RParen _>
                                        )
                                      }
                                    ]
                                    right: <Id.Right_ShArrayLiteral _>
                                  )
                                }
                            )
                          ]
                          redirects: []
                        )
                        (command.ControlFlow
                          keyword: <Id.ControlFlow_Return return>
                        )
                      ]
                      right: <Id.Op_DSemi _>
                    )
                    (CaseArm
                      left: <-L>
                      pattern: 
                        (pat.Words
                          words: [
                            {<-L>}
                            {<--locale>}
                            {<-m>}
                            {<--systems>}
                            {<-e>}
                            {<--extension>}
                            {<-r>}
                            {<--prompt>}
                            {<-R>}
                            {<--recode>}
                            {<-E>}
                            {<--encoding>}
                          ]
                        )
                      middle: <Id.Right_CasePat _>
                      action: [(command.ControlFlow keyword:<Id.ControlFlow_Return return>)]
                      right: <Id.Op_DSemi _>
                    )
                  ]
                  arms_end: <Id.KW_Esac esac>
                  redirects: []
                )
                (command.AndOr
                  children: [
                    (command.Simple
                      blame_tok: <Id.VSub_DollarName '$split'>
                      more_env: []
                      words: [{($ Id.VSub_DollarName split)}]
                      redirects: []
                      do_fork: T
                    )
                    (command.ControlFlow keyword:<Id.ControlFlow_Return return>)
                  ]
                  ops: [<Id.Op_DAmp _>]
                )
                (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.Binary
                                      op_id: Id.BoolBinary_GlobDEqual
                                      left: {($ Id.VSub_DollarName cur)}
                                      right: {<-> <Id.Lit_Other '*'>}
                                    )
                                  right: <Id.Lit_DRightBracket ']]'>
                                  redirects: []
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      then_kw: <Id.KW_Then then>
                      action: [
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'COMPREPLY='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'COMPREPLY='>
                              lhs: 
                                (sh_lhs_expr.Name
                                  left: <Id.Lit_VarLike 'COMPREPLY='>
                                  name: COMPREPLY
                                )
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (ShArrayLiteral
                                    left: <Id.Op_LParen _>
                                    words: [
                                      {
                                        (CommandSub
                                          left_token: <Id.Left_DollarParen '$('>
                                          child: 
                                            (command.Simple
                                              blame_tok: <compgen>
                                              more_env: []
                                              words: [
                                                {<compgen>}
                                                {<-W>}
                                                {(SQ <'$( _parse_help "$1" -h )'>)}
                                                {<-->}
                                                {(DQ ($ Id.VSub_DollarName cur))}
                                              ]
                                              redirects: []
                                              do_fork: T
                                            )
                                          right: <Id.Eof_RParen _>
                                        )
                                      }
                                    ]
                                    right: <Id.Right_ShArrayLiteral _>
                                  )
                                }
                            )
                          ]
                          redirects: []
                        )
                        (command.AndOr
                          children: [
                            (command.DBracket
                              left: <Id.KW_DLeftBracket '[['>
                              expr: 
                                (bool_expr.Binary
                                  op_id: Id.BoolBinary_GlobDEqual
                                  left: {($ Id.VSub_DollarName COMPREPLY)}
                                  right: {<Id.Lit_Other '*'> <Id.BoolBinary_GlobEqual '='>}
                                )
                              right: <Id.Lit_DRightBracket ']]'>
                              redirects: []
                            )
                            (command.Simple
                              blame_tok: <compopt>
                              more_env: []
                              words: [{<compopt>} {<-o>} {<nospace>}]
                              redirects: []
                              do_fork: T
                            )
                          ]
                          ops: [<Id.Op_DAmp _>]
                        )
                        (command.ControlFlow
                          keyword: <Id.ControlFlow_Return return>
                        )
                      ]
                      spids: [283 297]
                    )
                  ]
                  else_action: []
                  fi_kw: <Id.KW_Fi fi>
                  redirects: []
                )
                (command.AndOr
                  children: [
                    (command.Simple
                      blame_tok: <_expand>
                      more_env: []
                      words: [{<_expand>}]
                      redirects: []
                      do_fork: T
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  ops: [<Id.Op_DPipe _>]
                )
                (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.Binary
                                      op_id: Id.BoolBinary_GlobDEqual
                                      left: {(DQ ($ Id.VSub_DollarName cur))}
                                      right: 
                                        {
                                          (word_part.ExtGlob
                                            op: <Id.ExtGlob_At '@('>
                                            arms: [{<Id.Lit_Other '*'> <'/'>} {<'[.~]'>}]
                                            right: <Id.Right_ExtGlob _>
                                          ) <Id.Lit_Other '*'>
                                        }
                                    )
                                  right: <Id.Lit_DRightBracket ']]'>
                                  redirects: []
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      then_kw: <Id.KW_Then then>
                      action: [
                        (command.Simple
                          blame_tok: <_filedir>
                          more_env: []
                          words: [{<_filedir>} {(DQ ($ Id.VSub_DollarName manext))}]
                          redirects: []
                          do_fork: T
                        )
                        (command.ControlFlow
                          keyword: <Id.ControlFlow_Return return>
                          arg_word: {<0>}
                        )
                      ]
                      spids: [365 386]
                    )
                  ]
                  else_action: []
                  fi_kw: <Id.KW_Fi fi>
                  redirects: []
                )
                (command.Simple
                  blame_tok: <local>
                  more_env: []
                  words: [{<local>} {<manpath>}]
                  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.AndOr
                                  children: [
                                    (command.DBracket
                                      left: <Id.KW_DLeftBracket '[['>
                                      expr: 
                                        (bool_expr.Binary
                                          op_id: Id.BoolBinary_GlobDEqual
                                          left: {($ Id.VSub_DollarName OSTYPE)}
                                          right: 
                                            {<Id.Lit_Other '*'> 
                                              (word_part.ExtGlob
                                                op: <Id.ExtGlob_At '@('>
                                                arms: [{<darwin>} {<linux>} {<freebsd>} {<cygwin>}]
                                                right: <Id.Right_ExtGlob _>
                                              ) <Id.Lit_Other '*'>
                                            }
                                        )
                                      right: <Id.Lit_DRightBracket ']]'>
                                      redirects: []
                                    )
                                    (command.Simple
                                      blame_tok: <_userland>
                                      more_env: []
                                      words: [{<_userland>} {<GNU>}]
                                      redirects: []
                                      do_fork: T
                                    )
                                  ]
                                  ops: [<Id.Op_DPipe _>]
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      then_kw: <Id.KW_Then then>
                      action: [
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'manpath='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'manpath='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'manpath='> name:manpath)
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (CommandSub
                                    left_token: <Id.Left_DollarParen '$('>
                                    child: 
                                      (command.AndOr
                                        children: [
                                          (command.Simple
                                            blame_tok: <manpath>
                                            more_env: []
                                            words: [{<manpath>}]
                                            redirects: [
                                              (Redir
                                                op: <Id.Redir_Great '2>'>
                                                loc: (redir_loc.Fd fd:2)
                                                arg: {<'/dev/null'>}
                                              )
                                            ]
                                            do_fork: T
                                          )
                                          (command.Simple
                                            blame_tok: <command>
                                            more_env: []
                                            words: [{<command>} {<man>} {<-w>}]
                                            redirects: []
                                            do_fork: T
                                          )
                                        ]
                                        ops: [<Id.Op_DPipe _>]
                                      )
                                    right: <Id.Eof_RParen _>
                                  )
                                }
                            )
                          ]
                          redirects: []
                        )
                      ]
                      spids: [410 439]
                    )
                  ]
                  else_kw: <Id.KW_Else else>
                  else_action: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'manpath='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'manpath='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'manpath='> name:manpath)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_DollarName MANPATH)}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  fi_kw: <Id.KW_Fi fi>
                  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_z
                                      child: {($ Id.VSub_DollarName manpath)}
                                    )
                                  right: <Id.Lit_DRightBracket ']]'>
                                  redirects: []
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      then_kw: <Id.KW_Then then>
                      action: [
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'COMPREPLY='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'COMPREPLY='>
                              lhs: 
                                (sh_lhs_expr.Name
                                  left: <Id.Lit_VarLike 'COMPREPLY='>
                                  name: COMPREPLY
                                )
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (ShArrayLiteral
                                    left: <Id.Op_LParen _>
                                    words: [
                                      {
                                        (CommandSub
                                          left_token: <Id.Left_DollarParen '$('>
                                          child: 
                                            (command.Simple
                                              blame_tok: <compgen>
                                              more_env: []
                                              words: [
                                                {<compgen>}
                                                {<-c>}
                                                {<-->}
                                                {(DQ ($ Id.VSub_DollarName cur))}
                                              ]
                                              redirects: []
                                              do_fork: T
                                            )
                                          right: <Id.Eof_RParen _>
                                        )
                                      }
                                    ]
                                    right: <Id.Right_ShArrayLiteral _>
                                  )
                                }
                            )
                          ]
                          redirects: []
                        )
                        (command.ControlFlow
                          keyword: <Id.ControlFlow_Return return>
                          arg_word: {<0>}
                        )
                      ]
                      spids: [472 483]
                    )
                  ]
                  else_action: []
                  fi_kw: <Id.KW_Fi fi>
                  redirects: []
                )
                (command.Simple
                  blame_tok: <local>
                  more_env: []
                  words: [{<local>} {<sect>}]
                  redirects: []
                  do_fork: T
                )
                (command.AndOr
                  children: [
                    (command.DBracket
                      left: <Id.KW_DLeftBracket '[['>
                      expr: 
                        (bool_expr.Binary
                          op_id: Id.BoolBinary_GlobDEqual
                          left: {(DQ ($ Id.VSub_DollarName prev))}
                          right: {($ Id.VSub_DollarName mansect)}
                        )
                      right: <Id.Lit_DRightBracket ']]'>
                      redirects: []
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'sect='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'sect='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'sect='> name:sect)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_DollarName prev)}
                        )
                      ]
                      redirects: []
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'sect='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'sect='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'sect='> name:sect)
                          op: assign_op.Equal
                          rhs: {(SQ <'*'>)}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  ops: [<Id.Op_DAmp _> <Id.Op_DPipe _>]
                )
                (command.ShAssignment
                  left: <Id.Lit_VarLike 'manpath='>
                  pairs: [
                    (AssignPair
                      left: <Id.Lit_VarLike 'manpath='>
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'manpath='> name:manpath)
                      op: assign_op.Equal
                      rhs: {($ Id.VSub_DollarName manpath) <Id.Lit_Colon ':'>}
                    )
                  ]
                  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 cur)}
                                    )
                                  right: <Id.Lit_DRightBracket ']]'>
                                  redirects: []
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      then_kw: <Id.KW_Then then>
                      action: [
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'manpath='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'manpath='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'manpath='> name:manpath)
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      left: <Id.Left_DollarBrace '${'>
                                      token: <Id.VSub_Name manpath>
                                      var_name: manpath
                                      suffix_op: 
                                        (suffix_op.PatSub
                                          pat: {<':'>}
                                          replace: 
                                            {<Id.Lit_Slash '/'> <Id.Lit_Other '*'> <man> 
                                              ($ Id.VSub_DollarName sect) <Id.Lit_Slash '/'> ($ Id.VSub_DollarName cur) <Id.Lit_Other '*'> <' '>
                                            }
                                          replace_mode: Id.Lit_Slash
                                          slash_tok: <Id.VOp2_Slash _>
                                        )
                                      right: <Id.Right_DollarBrace '}'>
                                    ) <' '> 
                                    (BracedVarSub
                                      left: <Id.Left_DollarBrace '${'>
                                      token: <Id.VSub_Name manpath>
                                      var_name: manpath
                                      suffix_op: 
                                        (suffix_op.PatSub
                                          pat: {<':'>}
                                          replace: 
                                            {<Id.Lit_Slash '/'> <Id.Lit_Other '*'> <cat> 
                                              ($ Id.VSub_DollarName sect) <Id.Lit_Slash '/'> ($ Id.VSub_DollarName cur) <Id.Lit_Other '*'> <' '>
                                            }
                                          replace_mode: Id.Lit_Slash
                                          slash_tok: <Id.VOp2_Slash _>
                                        )
                                      right: <Id.Right_DollarBrace '}'>
                                    )
                                  )
                                }
                            )
                          ]
                          redirects: []
                        )
                      ]
                      spids: [555 566]
                    )
                  ]
                  else_kw: <Id.KW_Else else>
                  else_action: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'manpath='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'manpath='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'manpath='> name:manpath)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (DQ 
                                (BracedVarSub
                                  left: <Id.Left_DollarBrace '${'>
                                  token: <Id.VSub_Name manpath>
                                  var_name: manpath
                                  suffix_op: 
                                    (suffix_op.PatSub
                                      pat: {<':'>}
                                      replace: 
                                        {<Id.Lit_Slash '/'> <Id.Lit_Other '*'> <man> 
                                          ($ Id.VSub_DollarName sect) <Id.Lit_Slash '/'> <' '>
                                        }
                                      replace_mode: Id.Lit_Slash
                                      slash_tok: <Id.VOp2_Slash _>
                                    )
                                  right: <Id.Right_DollarBrace '}'>
                                ) <' '> 
                                (BracedVarSub
                                  left: <Id.Left_DollarBrace '${'>
                                  token: <Id.VSub_Name manpath>
                                  var_name: manpath
                                  suffix_op: 
                                    (suffix_op.PatSub
                                      pat: {<':'>}
                                      replace: 
                                        {<Id.Lit_Slash '/'> <Id.Lit_Other '*'> <cat> 
                                          ($ Id.VSub_DollarName sect) <Id.Lit_Slash '/'> <' '>
                                        }
                                      replace_mode: Id.Lit_Slash
                                      slash_tok: <Id.VOp2_Slash _>
                                    )
                                  right: <Id.Right_DollarBrace '}'>
                                )
                              )
                            }
                        )
                      ]
                      redirects: []
                    )
                  ]
                  fi_kw: <Id.KW_Fi fi>
                  redirects: []
                )
                (command.ShAssignment
                  left: <Id.Lit_VarLike 'COMPREPLY='>
                  pairs: [
                    (AssignPair
                      left: <Id.Lit_VarLike 'COMPREPLY='>
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'COMPREPLY='> name:COMPREPLY)
                      op: assign_op.Equal
                      rhs: 
                        {
                          (ShArrayLiteral
                            left: <Id.Op_LParen _>
                            words: [
                              {
                                (CommandSub
                                  left_token: <Id.Left_DollarParen '$('>
                                  child: 
                                    (command.Simple
                                      blame_tok: <eval>
                                      more_env: []
                                      words: [
                                        {<eval>}
                                        {<command>}
                                        {<ls>}
                                        {(DQ ($ Id.VSub_DollarName manpath))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op: <Id.Redir_Great '2>'>
                                          loc: (redir_loc.Fd fd:2)
                                          arg: {<'/dev/null'>}
                                        )
                                      ]
                                      do_fork: T
                                    )
                                  right: <Id.Eof_RParen _>
                                )
                              }
                            ]
                            right: <Id.Right_ShArrayLiteral _>
                          )
                        }
                    )
                  ]
                  redirects: []
                )
                (command.ShAssignment
                  left: <Id.Lit_VarLike 'COMPREPLY='>
                  pairs: [
                    (AssignPair
                      left: <Id.Lit_VarLike 'COMPREPLY='>
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'COMPREPLY='> name:COMPREPLY)
                      op: assign_op.Equal
                      rhs: 
                        {
                          (ShArrayLiteral
                            left: <Id.Op_LParen _>
                            words: [
                              {
                                (BracedVarSub
                                  left: <Id.Left_DollarBrace '${'>
                                  token: <Id.VSub_Name COMPREPLY>
                                  var_name: COMPREPLY
                                  bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                  suffix_op: 
                                    (suffix_op.Unary
                                      op: <Id.VOp1_DPound '##'>
                                      arg_word: 
                                        {<Id.Lit_Other '*'> <Id.Lit_Slash '/'> 
                                          (word_part.ExtGlob
                                            op: <Id.ExtGlob_QMark '?('>
                                            arms: [{<':'>}]
                                            right: <Id.Right_ExtGlob _>
                                          )
                                        }
                                    )
                                  right: <Id.Right_DollarBrace '}'>
                                )
                              }
                            ]
                            right: <Id.Right_ShArrayLiteral _>
                          )
                        }
                    )
                  ]
                  redirects: []
                )
                (command.ShAssignment
                  left: <Id.Lit_VarLike 'COMPREPLY='>
                  pairs: [
                    (AssignPair
                      left: <Id.Lit_VarLike 'COMPREPLY='>
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'COMPREPLY='> name:COMPREPLY)
                      op: assign_op.Equal
                      rhs: 
                        {
                          (ShArrayLiteral
                            left: <Id.Op_LParen _>
                            words: [
                              {
                                (BracedVarSub
                                  left: <Id.Left_DollarBrace '${'>
                                  token: <Id.VSub_Name COMPREPLY>
                                  var_name: COMPREPLY
                                  bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                  suffix_op: 
                                    (suffix_op.Unary
                                      op: <Id.VOp1_Percent '%'>
                                      arg_word: {($ Id.VSub_DollarName comprsuffix)}
                                    )
                                  right: <Id.Right_DollarBrace '}'>
                                )
                              }
                            ]
                            right: <Id.Right_ShArrayLiteral _>
                          )
                        }
                    )
                  ]
                  redirects: []
                )
                (command.ShAssignment
                  left: <Id.Lit_VarLike 'COMPREPLY='>
                  pairs: [
                    (AssignPair
                      left: <Id.Lit_VarLike 'COMPREPLY='>
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'COMPREPLY='> name:COMPREPLY)
                      op: assign_op.Equal
                      rhs: 
                        {
                          (ShArrayLiteral
                            left: <Id.Op_LParen _>
                            words: [
                              {
                                (CommandSub
                                  left_token: <Id.Left_DollarParen '$('>
                                  child: 
                                    (command.Simple
                                      blame_tok: <compgen>
                                      more_env: []
                                      words: [
                                        {<compgen>}
                                        {<-W>}
                                        {(SQ <'${COMPREPLY[@]%.*}'>)}
                                        {<-->}
                                        {
                                          (DQ 
                                            (BracedVarSub
                                              left: <Id.Left_DollarBrace '${'>
                                              token: <Id.VSub_Name cur>
                                              var_name: cur
                                              suffix_op: 
                                                (suffix_op.PatSub
                                                  pat: 
                                                    {
                                                      (word_part.EscapedLiteral
                                                        token: <Id.Lit_EscapedChar '\\\\'>
                                                        ch: '\\'
                                                      ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\')
                                                    }
                                                  replace: {}
                                                  replace_mode: Id.Lit_Slash
                                                  slash_tok: <Id.VOp2_Slash _>
                                                )
                                              right: <Id.Right_DollarBrace '}'>
                                            )
                                          )
                                        }
                                      ]
                                      redirects: []
                                      do_fork: T
                                    )
                                  right: <Id.Eof_RParen _>
                                )
                              }
                            ]
                            right: <Id.Right_ShArrayLiteral _>
                          )
                        }
                    )
                  ]
                  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.Binary
                                      op_id: Id.BoolBinary_GlobNEqual
                                      left: {(DQ ($ Id.VSub_DollarName prev))}
                                      right: {($ Id.VSub_DollarName mansect)}
                                    )
                                  right: <Id.Lit_DRightBracket ']]'>
                                  redirects: []
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      then_kw: <Id.KW_Then then>
                      action: [
                        (command.Simple
                          blame_tok: <local>
                          more_env: []
                          words: [
                            {<local>}
                            {<i>}
                            {<Id.Lit_VarLike 'start='> 
                              (BracedVarSub
                                left: <Id.Left_DollarBrace '${'>
                                token: <Id.VSub_Name COMPREPLY>
                                var_name: COMPREPLY
                                prefix_op: <Id.VSub_Pound '#'>
                                bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                right: <Id.Right_DollarBrace '}'>
                              )
                            }
                          ]
                          redirects: []
                          do_fork: T
                        )
                        (command.Simple
                          blame_tok: <_filedir>
                          more_env: []
                          words: [{<_filedir>} {(DQ ($ Id.VSub_DollarName manext))}]
                          redirects: []
                          do_fork: T
                        )
                        (command.ForExpr
                          keyword: <Id.KW_For for>
                          init: 
                            (arith_expr.BinaryAssign
                              op_id: Id.Arith_Equal
                              left: ($ Id.Lit_ArithVarLike i)
                              right: {($ Id.VSub_DollarName start)}
                            )
                          cond: 
                            (arith_expr.Binary
                              op_id: Id.Arith_Less
                              left: ($ Id.Lit_ArithVarLike i)
                              right: 
                                {
                                  (BracedVarSub
                                    left: <Id.Left_DollarBrace '${'>
                                    token: <Id.VSub_Name COMPREPLY>
                                    var_name: COMPREPLY
                                    prefix_op: <Id.VSub_Pound '#'>
                                    bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                    right: <Id.Right_DollarBrace '}'>
                                  )
                                }
                            )
                          update: 
                            (arith_expr.UnaryAssign
                              op_id: Id.Node_PostDPlus
                              child: ($ Id.Lit_ArithVarLike i)
                            )
                          body: 
                            (command.DoGroup
                              left: <Id.KW_Do do>
                              children: [
                                (command.AndOr
                                  children: [
                                    (command.DBracket
                                      left: <Id.KW_DLeftBracket '[['>
                                      expr: 
                                        (bool_expr.Binary
                                          op_id: Id.BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (BracedVarSub
                                                left: <Id.Left_DollarBrace '${'>
                                                token: <Id.VSub_Name COMPREPLY>
                                                var_name: COMPREPLY
                                                bracket_op: 
                                                  (bracket_op.ArrayIndex
                                                    expr: ($ Id.Lit_ArithVarLike i)
                                                  )
                                                right: <Id.Right_DollarBrace '}'>
                                              )
                                            }
                                          right: {<Id.Lit_Other '*'> <'/'> <Id.Lit_Other '*'>}
                                        )
                                      right: <Id.Lit_DRightBracket ']]'>
                                      redirects: []
                                    )
                                    (command.ShAssignment
                                      left: <Id.Lit_ArrayLhsOpen 'COMPREPLY['>
                                      pairs: [
                                        (AssignPair
                                          left: <Id.Lit_ArrayLhsOpen 'COMPREPLY['>
                                          lhs: 
                                            (sh_lhs_expr.IndexedName
                                              left: <Id.Lit_ArrayLhsOpen 'COMPREPLY['>
                                              name: COMPREPLY
                                              index: ($ Id.Lit_ArithVarLike i)
                                            )
                                          op: assign_op.Equal
                                          rhs: 
                                            {<'./'> 
                                              (BracedVarSub
                                                left: <Id.Left_DollarBrace '${'>
                                                token: <Id.VSub_Name COMPREPLY>
                                                var_name: COMPREPLY
                                                bracket_op: 
                                                  (bracket_op.ArrayIndex
                                                    expr: ($ Id.Lit_ArithVarLike i)
                                                  )
                                                right: <Id.Right_DollarBrace '}'>
                                              )
                                            }
                                        )
                                      ]
                                      redirects: []
                                    )
                                  ]
                                  ops: [<Id.Op_DPipe _>]
                                )
                              ]
                              right: <Id.KW_Done done>
                            )
                          redirects: []
                        )
                      ]
                      spids: [745 760]
                    )
                  ]
                  else_action: []
                  fi_kw: <Id.KW_Fi fi>
                  redirects: []
                )
                (command.Simple
                  blame_tok: <__ltrim_colon_completions>
                  more_env: []
                  words: [{<__ltrim_colon_completions>} {(DQ ($ Id.VSub_DollarName cur))}]
                  redirects: []
                  do_fork: T
                )
                (command.ControlFlow
                  keyword: <Id.ControlFlow_Return return>
                  arg_word: {<0>}
                )
              ]
              redirects: []
              right: <Id.Lit_RBrace '}'>
            )
        )
        (command.Simple
          blame_tok: <complete>
          more_env: []
          words: [{<complete>} {<-F>} {<_man>} {<man>} {<apropos>} {<whatis>}]
          redirects: []
          do_fork: T
        )
      ]
      ops: [<Id.Op_DAmp _>]
    )
  ]
)