(command.CommandList
  children: [
    (C {(echo)} 
      {
        (DQ ('/* Automatically generated by ') ($ VSub_Number '$0') (' */\n') 
          ('struct cmdname_help {\n') ('\tchar name[16];\n') ('\tchar help[80];\n') ('\tunsigned char group;\n') ('};\n') ('\n') 
          ('static const char *common_cmd_groups[] = {')
        )
      }
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:grps spids:[20])
          op: Equal
          rhs: {(grps) ($ VSub_Dollar '$$') (.tmp)}
          spids: [20]
        )
      ]
      spids: [20]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:match spids:[25])
          op: Equal
          rhs: {(match) ($ VSub_Dollar '$$') (.tmp)}
          spids: [25]
        )
      ]
      spids: [25]
    )
    (C {(trap)} 
      {(DQ ("rm -f '") ($ VSub_DollarName '$grps') ("' '") ($ VSub_DollarName '$match') ("'"))} {(0)} {(1)} {(2)} {(3)} {(15)}
    )
    (C {(sed)} {(-n)} 
      {
        (SQ <'\n'> <'\t1,/^### common groups/b\n'> <'\t/^### command list/q\n'> <'\t/^#/b\n'> 
          <'\t/^[ \t]*$/b\n'> <'\th;s/^[^ \t][^ \t]*[ \t][ \t]*\\(.*\\)/\tN_("\\1"),/p\n'> 
          <'\tg;s/^\\([^ \t][^ \t]*\\)[ \t].*/\\1/w '>
        ) ($ VSub_DollarName '$grps') (SQ <'\n'> <'\t'>)
      } {(DQ ($ VSub_Number '$1'))}
    )
    (C {(printf)} {(SQ <'};\\n\\n'>)})
    (command.Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(lhs_expr.LhsName name:n spids:[81]) op:Equal rhs:{(0)} spids:[81])]
      spids: [81]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:substnum spids:[84])
          op: Equal
          rhs: (word.EmptyWord)
          spids: [84]
        )
      ]
      spids: [84]
    )
    (command.WhileUntil
      keyword: <KW_While while>
      cond: [(C {(read)} {(grp)})]
      body: 
        (command.DoGroup
          children: [
            (C {(echo)} {(DQ ('^git-..*[ \t]') ($ VSub_DollarName '$grp'))})
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:substnum spids:[103])
                  op: Equal
                  rhs: 
                    {
                      (DQ ($ VSub_DollarName '$substnum') 
                        (word_part.BracedVarSub
                          token: <VSub_Name substnum>
                          suffix_op: (suffix_op.StringUnary op_id:VTest_ColonPlus arg_word:{(';')})
                          spids: [106 110]
                        ) ('s/[ \t]') ($ VSub_DollarName '$grp') (/) ($ VSub_DollarName '$n') (/)
                      )
                    }
                  spids: [103]
                )
              ]
              spids: [103]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:n spids:[119])
                  op: Equal
                  rhs: 
                    {
                      (word_part.ArithSubPart
                        anode: 
                          (arith_expr.ArithBinary
                            op_id: Arith_Plus
                            left: (arith_expr.ArithWord w:{($ VSub_DollarName '$n')})
                            right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                          )
                        spids: [120 125]
                      )
                    }
                  spids: [119]
                )
              ]
              spids: [119]
            )
          ]
          spids: [92 127]
        )
      redirects: [
        (redir.Redir
          op: <Redir_Less '<'>
          fd: 16777215
          arg_word: {(DQ ($ VSub_DollarName '$grps'))}
        )
        (redir.Redir
          op: <Redir_Great '>'>
          fd: 16777215
          arg_word: {(DQ ($ VSub_DollarName '$match'))}
        )
      ]
    )
    (C {(printf)} {(SQ <'static struct cmdname_help common_cmds[] = {\\n'>)})
    (command.Pipeline
      children: [
        (C {(grep)} {(-f)} {(DQ ($ VSub_DollarName '$match'))} {(DQ ($ VSub_Number '$1'))})
        (C {(sed)} {(SQ <'s/^git-//'>)})
        (C {(sort)})
        (command.WhileUntil
          keyword: <KW_While while>
          cond: [(C {(read)} {(cmd)} {(tags)})]
          body: 
            (command.DoGroup
              children: [
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:tag spids:[183])
                      op: Equal
                      rhs: 
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (command.Pipeline
                                    children: [
                                      (C {(echo)} {(DQ ($ VSub_DollarName '$tags'))})
                                      (C {(sed)} 
                                        {(DQ ($ VSub_DollarName '$substnum') ('; s/[^0-9]//g'))}
                                      )
                                    ]
                                    negated: F
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [184 199]
                          )
                        }
                      spids: [183]
                    )
                  ]
                  spids: [183]
                )
                (C {(sed)} {(-n)} 
                  {(SQ <'\n'> <'\t\t/^NAME/,/git-'>) (DQ ($ VSub_DollarName '$cmd')) 
                    (SQ <'/H\n'> <'\t\t${\n'> <'\t\t\tx\n'> <'\t\t\ts/.*git-'>) (DQ ($ VSub_DollarName '$cmd')) (SQ <' - \\(.*\\)/\t{"'>) (DQ ($ VSub_DollarName '$cmd')) 
                    (SQ <'", N_("\\1"), '>) ($ VSub_DollarName '$tag') (SQ <'},/\n'> <'\t\t\tp\n'> <'\t\t}'>)
                  } {(DQ (Documentation/git-) ($ VSub_DollarName '$cmd') (.txt))}
                )
              ]
              spids: [180 244]
            )
        )
      ]
      negated: F
    )
    (C {(echo)} {(DQ ('};'))})
  ]
)