(CommandList
  children: [
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(test)} 
                  {
                    (DQ (X) 
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Subshell
                                child: (C {(echo)} {(SQ <'\\t'>)})
                                redirects: [
                                  (Redir
                                    op_id: Redir_Great
                                    fd: 2
                                    arg_word: {(/dev/null)}
                                    spids: [73]
                                  )
                                ]
                                spids: [65 71]
                              )
                            ]
                          )
                        left_token: <Left_Backtick '`'>
                        spids: [64 75]
                      )
                    )
                  } {(Lit_Other '=')} {(SQ <'X\\t'>)}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:echo) op:Equal rhs:{(SQ <echo>)} spids:[88])]
              spids: [88]
            )
          ]
          spids: [16777215 85]
        )
      ]
      else_action: [
        (If
          arms: [
            (if_arm
              cond: [
                (Sentence
                  child: 
                    (C {(test)} 
                      {
                        (DQ (X) 
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [
                                  (Subshell
                                    child: (C {(printf)} {(SQ <'%s\\n'>)} {(SQ <'\\t'>)})
                                    redirects: [
                                      (Redir
                                        op_id: Redir_Great
                                        fd: 2
                                        arg_word: {(/dev/null)}
                                        spids: [115]
                                      )
                                    ]
                                    spids: [103 113]
                                  )
                                ]
                              )
                            left_token: <Left_Backtick '`'>
                            spids: [102 117]
                          )
                        )
                      } {(Lit_Other '=')} {(SQ <'X\\t'>)}
                    )
                  terminator: <Op_Semi ';'>
                )
              ]
              action: [
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:echo)
                      op: Equal
                      rhs: {(SQ <'printf %s\\n'>)}
                      spids: [130]
                    )
                  ]
                  spids: [130]
                )
              ]
              spids: [16777215 127]
            )
          ]
          else_action: [
            (FuncDef
              name: echo_func
              body: 
                (BraceGroup
                  children: [
                    (SimpleCommand
                      words: [{(cat)}]
                      redirects: [
                        (HereDoc
                          op_id: Redir_DLess
                          fd: 16777215
                          body: {(DQ ($ VSub_Star '$*') ('\n'))}
                          do_expansion: True
                          here_end: EOT
                          was_filled: True
                          spids: [149]
                        )
                      ]
                    )
                  ]
                  spids: [144]
                )
              spids: [139 143]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:echo)
                  op: Equal
                  rhs: {(SQ <echo_func>)}
                  spids: [159]
                )
              ]
              spids: [159]
            )
          ]
          spids: [136 165]
        )
      ]
      spids: [93 167]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(test)} {(-z)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name ZSH_VERSION>
                        suffix_op: (StringUnary op_id:VTest_Plus arg_word:{(set)})
                        spids: [195 199]
                      )
                    )
                  }
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Case
              to_match: {(DQ ($ VSub_Number '$0'))}
              arms: [
                (case_arm
                  pat_list: [
                    {(gettext.sh)}
                    {(Lit_Other '*') (/gettext.sh)}
                    {(Lit_Other '*') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (gettext.sh)}
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:progname)
                          op: Equal
                          rhs: {($ VSub_Number '$0')}
                          spids: [250]
                        )
                      ]
                      spids: [250]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:package)
                          op: Equal
                          rhs: {(gettext-runtime)}
                          spids: [254]
                        )
                      ]
                      spids: [254]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:version)
                          op: Equal
                          rhs: {(0.19.7)}
                          spids: [258]
                        )
                      ]
                      spids: [258]
                    )
                    (FuncDef
                      name: func_usage
                      body: 
                        (BraceGroup
                          children: [
                            (C {(echo)} 
                              {
                                (DQ ('GNU gettext shell script function library version ') 
                                  ($ VSub_Name '$version')
                                )
                              }
                            )
                            (C {(echo)} {(DQ ('Usage: . gettext.sh'))})
                          ]
                          spids: [276]
                        )
                      spids: [270 274]
                    )
                    (FuncDef
                      name: func_version
                      body: 
                        (BraceGroup
                          children: [
                            (C {(echo)} 
                              {
                                (DQ ($ VSub_Name '$progname') (' (GNU ') ($ VSub_Name '$package') (') ') 
                                  ($ VSub_Name '$version')
                                )
                              }
                            )
                            (C {(echo)} 
                              {
                                (DQ ('Copyright (C) 2003-2007 Free Software Foundation, Inc.\n') 
                                  (
'License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>\n'
                                  ) ('This is free software: you are free to change and redistribute it.\n') 
                                  ('There is NO WARRANTY, to the extent permitted by law.')
                                )
                              }
                            )
                            (C {(echo)} {(DQ ('Written by'))} {(DQ ('Bruno Haible'))})
                          ]
                          spids: [311]
                        )
                      spids: [305 309]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: (C {(test)} {($ VSub_Pound '$#')} {(Lit_Other '=')} {(1)})
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (Case
                              to_match: {(DQ ($ VSub_Number '$1'))}
                              arms: [
                                (case_arm
                                  pat_list: [{(--help)} {(--hel)} {(--he)} {(--h)}]
                                  action: [
                                    (Sentence
                                      child: (C {(func_usage)})
                                      terminator: <Op_Semi ';'>
                                    )
                                    (C {(exit)} {(0)})
                                  ]
                                  spids: [372 386 396 16777215]
                                )
                                (case_arm
                                  pat_list: [
                                    {(--version)}
                                    {(--versio)}
                                    {(--versi)}
                                    {(--vers)}
                                    {(--ver)}
                                    {(--ve)}
                                    {(--v)}
                                  ]
                                  action: [
                                    (Sentence
                                      child: (C {(func_version)})
                                      terminator: <Op_Semi ';'>
                                    )
                                    (C {(exit)} {(0)})
                                  ]
                                  spids: [399 425 435 16777215]
                                )
                              ]
                              spids: [363 369 438]
                            )
                          ]
                          spids: [16777215 360]
                        )
                      ]
                      spids: [16777215 441]
                    )
                    (SimpleCommand
                      words: [{(func_usage)}]
                      redirects: [(Redir op_id:Redir_GreatAnd fd:1 arg_word:{(2)} spids:[446])]
                    )
                    (C {(exit)} {(1)})
                  ]
                  spids: [235 247 455 16777215]
                )
              ]
              spids: [226 232 458]
            )
          ]
          spids: [16777215 203]
        )
      ]
      spids: [16777215 460]
    )
    (FuncDef
      name: eval_gettext
      body: 
        (BraceGroup
          children: [
            (Pipeline
              children: [
                (C {(gettext)} {(DQ ($ VSub_Number '$1'))})
                (Subshell
                  child: 
                    (CommandList
                      children: [
                        (Sentence
                          child: 
                            (C {(export)} {(PATH)} 
                              {
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [
                                        (C {(envsubst)} {(--variables)} {(DQ ($ VSub_Number '$1'))})
                                      ]
                                    )
                                  left_token: <Left_Backtick '`'>
                                  spids: [493 501]
                                )
                              }
                            )
                          terminator: <Op_Semi ';'>
                        )
                        (C {(envsubst)} {(DQ ($ VSub_Number '$1'))})
                      ]
                    )
                  spids: [488 509]
                )
              ]
              negated: False
            )
          ]
          spids: [477]
        )
      spids: [472 476]
    )
    (FuncDef
      name: eval_ngettext
      body: 
        (BraceGroup
          children: [
            (Pipeline
              children: [
                (C {(ngettext)} {(DQ ($ VSub_Number '$1'))} {(DQ ($ VSub_Number '$2'))} 
                  {(DQ ($ VSub_Number '$3'))}
                )
                (Subshell
                  child: 
                    (CommandList
                      children: [
                        (Sentence
                          child: 
                            (C {(export)} {(PATH)} 
                              {
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [
                                        (C {(envsubst)} {(--variables)} 
                                          {(DQ ($ VSub_Number '$1') (' ') ($ VSub_Number '$2'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_Backtick '`'>
                                  spids: [552 562]
                                )
                              }
                            )
                          terminator: <Op_Semi ';'>
                        )
                        (C {(envsubst)} {(DQ ($ VSub_Number '$1') (' ') ($ VSub_Number '$2'))})
                      ]
                    )
                  spids: [547 572]
                )
              ]
              negated: False
            )
          ]
          spids: [528]
        )
      spids: [523 527]
    )
  ]
)