(command.CommandList
  children: [
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {<test>} 
                  {
                    (DQ <X> 
                      (command_sub
                        left_token: <Id.Left_Backtick '`'>
                        command_list: 
                          (command.CommandList
                            children: [
                              (command.Subshell
                                command_list: 
                                  (command.CommandList
                                    children: [(C {<echo>} {(SQ <'\\t'>)})]
                                  )
                                redirects: [
                                  (redir.Redir
                                    op: <Id.Redir_Great '2>'>
                                    fd: 2
                                    arg_word: {</dev/null>}
                                  )
                                ]
                              )
                            ]
                          )
                      )
                    )
                  } {<Id.Lit_Equals '='>} {(SQ <'X\\t'>)}
                )
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:echo)
                  op: assign_op.Equal
                  rhs: {(SQ <echo>)}
                  spids: [92]
                )
              ]
            )
          ]
          spids: [58 89]
        )
      ]
      else_action: [
        (command.If
          arms: [
            (if_arm
              cond: [
                (command.Sentence
                  child: 
                    (C {<test>} 
                      {
                        (DQ <X> 
                          (command_sub
                            left_token: <Id.Left_Backtick '`'>
                            command_list: 
                              (command.CommandList
                                children: [
                                  (command.Subshell
                                    command_list: 
                                      (command.CommandList
                                        children: [(C {<printf>} {(SQ <'%s\\n'>)} {(SQ <'\\t'>)})]
                                      )
                                    redirects: [
                                      (redir.Redir
                                        op: <Id.Redir_Great '2>'>
                                        fd: 2
                                        arg_word: {</dev/null>}
                                      )
                                    ]
                                  )
                                ]
                              )
                          )
                        )
                      } {<Id.Lit_Equals '='>} {(SQ <'X\\t'>)}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
              action: [
                (command.ShAssignment
                  pairs: [
                    (assign_pair
                      lhs: (sh_lhs_expr.Name name:echo)
                      op: assign_op.Equal
                      rhs: {(SQ <'printf %s\\n'>)}
                      spids: [140]
                    )
                  ]
                )
              ]
              spids: [100 137]
            )
          ]
          else_action: [
            (command.ShFunction
              name: echo_func
              body: 
                (command.BraceGroup
                  children: [
                    (command.Simple
                      words: [{<cat>}]
                      redirects: [
                        (redir.HereDoc
                          op: <Id.Redir_DLess '<<'>
                          fd: -1
                          here_begin: {<EOT>}
                          here_end_span_id: 165
                          stdin_parts: [($ Id.VSub_Star '$*') <'\n'>]
                        )
                      ]
                    )
                  ]
                )
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:echo)
                  op: assign_op.Equal
                  rhs: {(SQ <echo_func>)}
                  spids: [170]
                )
              ]
            )
          ]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (C {<test>} {<-z>} 
                  {
                    (DQ 
                      (braced_var_sub
                        token: <Id.VSub_Name ZSH_VERSION>
                        suffix_op: (suffix_op.Unary op_id:Id.VTest_Plus arg_word:{<set>})
                      )
                    )
                  }
                )
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (command.Case
              to_match: {(DQ ($ Id.VSub_Number '$0'))}
              arms: [
                (case_arm
                  pat_list: [
                    {<gettext.sh>}
                    {<Id.Lit_Star '*'> </gettext.sh>}
                    {<Id.Lit_Star '*'> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) 
                      <gettext.sh>
                    }
                  ]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:progname)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_Number '$0')}
                          spids: [261]
                        )
                      ]
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:package)
                          op: assign_op.Equal
                          rhs: {<gettext-runtime>}
                          spids: [265]
                        )
                      ]
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:version)
                          op: assign_op.Equal
                          rhs: {<0.19.7>}
                          spids: [269]
                        )
                      ]
                    )
                    (command.ShFunction
                      name: func_usage
                      body: 
                        (command.BraceGroup
                          children: [
                            (C {<echo>} 
                              {
                                (DQ <'GNU gettext shell script function library version '> 
                                  ($ Id.VSub_DollarName '$version')
                                )
                              }
                            )
                            (C {<echo>} {(DQ <'Usage: . gettext.sh'>)})
                          ]
                        )
                    )
                    (command.ShFunction
                      name: func_version
                      body: 
                        (command.BraceGroup
                          children: [
                            (C {<echo>} 
                              {
                                (DQ ($ Id.VSub_DollarName '$progname') <' (GNU '> 
                                  ($ Id.VSub_DollarName '$package') <') '> ($ Id.VSub_DollarName '$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'>)})
                          ]
                        )
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: (C {<test>} {($ Id.VSub_Pound '$#')} {<Id.Lit_Equals '='>} {<1>})
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                          action: [
                            (command.Case
                              to_match: {(DQ ($ Id.VSub_Number '$1'))}
                              arms: [
                                (case_arm
                                  pat_list: [{<--help>} {<--hel>} {<--he>} {<--h>}]
                                  action: [
                                    (command.Sentence
                                      child: (C {<func_usage>})
                                      terminator: <Id.Op_Semi _>
                                    )
                                    (command.ControlFlow
                                      token: <Id.ControlFlow_Exit exit>
                                      arg_word: {<0>}
                                    )
                                  ]
                                  spids: [383 397 407 -1]
                                )
                                (case_arm
                                  pat_list: [
                                    {<--version>}
                                    {<--versio>}
                                    {<--versi>}
                                    {<--vers>}
                                    {<--ver>}
                                    {<--ve>}
                                    {<--v>}
                                  ]
                                  action: [
                                    (command.Sentence
                                      child: (C {<func_version>})
                                      terminator: <Id.Op_Semi _>
                                    )
                                    (command.ControlFlow
                                      token: <Id.ControlFlow_Exit exit>
                                      arg_word: {<0>}
                                    )
                                  ]
                                  spids: [410 436 446 -1]
                                )
                              ]
                            )
                          ]
                          spids: [360 371]
                        )
                      ]
                    )
                    (command.Simple
                      words: [{<func_usage>}]
                      redirects: [(redir.Redir op:<Id.Redir_GreatAnd '1>&'> fd:1 arg_word:{<2>})]
                    )
                    (command.ControlFlow
                      token: <Id.ControlFlow_Exit exit>
                      arg_word: {<1>}
                    )
                  ]
                  spids: [246 258 466 -1]
                )
              ]
            )
          ]
          spids: [199 214]
        )
      ]
    )
    (command.ShFunction
      name: eval_gettext
      body: 
        (command.BraceGroup
          children: [
            (command.Pipeline
              children: [
                (C {<gettext>} {(DQ ($ Id.VSub_Number '$1'))})
                (command.Subshell
                  command_list: 
                    (command.CommandList
                      children: [
                        (command.Sentence
                          child: 
                            (C {<export>} {<PATH>} 
                              {
                                (command_sub
                                  left_token: <Id.Left_Backtick '`'>
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {<envsubst>} {<--variables>} {(DQ ($ Id.VSub_Number '$1'))})
                                      ]
                                    )
                                )
                              }
                            )
                          terminator: <Id.Op_Semi _>
                        )
                        (C {<envsubst>} {(DQ ($ Id.VSub_Number '$1'))})
                      ]
                    )
                )
              ]
              negated: F
            )
          ]
        )
    )
    (command.ShFunction
      name: eval_ngettext
      body: 
        (command.BraceGroup
          children: [
            (command.Pipeline
              children: [
                (C {<ngettext>} {(DQ ($ Id.VSub_Number '$1'))} {(DQ ($ Id.VSub_Number '$2'))} 
                  {(DQ ($ Id.VSub_Number '$3'))}
                )
                (command.Subshell
                  command_list: 
                    (command.CommandList
                      children: [
                        (command.Sentence
                          child: 
                            (C {<export>} {<PATH>} 
                              {
                                (command_sub
                                  left_token: <Id.Left_Backtick '`'>
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {<envsubst>} {<--variables>} 
                                          {(DQ ($ Id.VSub_Number '$1') <' '> ($ Id.VSub_Number '$2'))}
                                        )
                                      ]
                                    )
                                )
                              }
                            )
                          terminator: <Id.Op_Semi _>
                        )
                        (C {<envsubst>} {(DQ ($ Id.VSub_Number '$1') <' '> ($ Id.VSub_Number '$2'))})
                      ]
                    )
                )
              ]
              negated: F
            )
          ]
        )
    )
  ]
)