(command.CommandList
  children: [
    (C {<.>} {<'./test-lib.sh'>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:GIT_TEXTDOMAINDIR)
          op: assign_op.Equal
          rhs: {(DQ ($ Id.VSub_DollarName '$GIT_BUILD_DIR') <'/po/build/locale'>)}
          spids: [21]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:GIT_PO_PATH)
          op: assign_op.Equal
          rhs: {(DQ ($ Id.VSub_DollarName '$GIT_BUILD_DIR') <'/po'>)}
          spids: [27]
        )
      ]
    )
    (C {<export>} {<GIT_TEXTDOMAINDIR>} {<GIT_PO_PATH>})
    (C {<.>} {(DQ ($ Id.VSub_DollarName '$GIT_BUILD_DIR')) <'/git-sh-i18n'>})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.AndOr
                  ops: [Id.Op_DAmp]
                  children: [
                    (C {<test_have_prereq>} {<GETTEXT>})
                    (command.Pipeline
                      children: [(C {<test_have_prereq>} {<GETTEXT_POISON>})]
                      negated: T
                    )
                  ]
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:is_IS_locale)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_DollarParen '$('>
                        child: 
                          (command.Pipeline
                            children: [
                              (command.Simple
                                words: [{<locale>} {<-a>}]
                                redirects: [
                                  (redir
                                    op: <Id.Redir_Great '2>'>
                                    loc: (redir_loc.Fd fd:2)
                                    arg: {<'/dev/null'>}
                                  )
                                ]
                                do_fork: T
                              )
                              (C {<sed>} {<-n>} 
                                {
                                  (SQ <'/^is_IS\\.[uU][tT][fF]-*8$/{\n'> <'\t\tp\n'> <'\t\tq\n'> <'\t}'>)
                                }
                              )
                            ]
                            negated: F
                          )
                      )
                    }
                  spids: [69]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:is_IS_iso_locale)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_DollarParen '$('>
                        child: 
                          (command.Pipeline
                            children: [
                              (command.Simple
                                words: [{<locale>} {<-a>}]
                                redirects: [
                                  (redir
                                    op: <Id.Redir_Great '2>'>
                                    loc: (redir_loc.Fd fd:2)
                                    arg: {<'/dev/null'>}
                                  )
                                ]
                                do_fork: T
                              )
                              (C {<sed>} {<-n>} 
                                {
                                  (SQ <'/^is_IS\\.[iI][sS][oO]8859-*1$/{\n'> <'\t\tp\n'> <'\t\tq\n'> 
                                    <'\t}'>
                                  )
                                }
                              )
                            ]
                            negated: F
                          )
                      )
                    }
                  spids: [98]
                )
              ]
            )
            (C {<export>} {<is_IS_locale>} {<is_IS_iso_locale>})
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.AndOr
                          ops: [Id.Op_DAmp]
                          children: [
                            (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$is_IS_locale'))})
                            (C {<test>} {($ Id.VSub_DollarName '$GIT_INTERNAL_GETTEXT_SH_SCHEME')} 
                              {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <fallthrough>)}
                            )
                          ]
                        )
                      ]
                    )
                  action: [
                    (C {<test_set_prereq>} {<GETTEXT_LOCALE>})
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:GETTEXT_LOCALE)
                          op: assign_op.Equal
                          rhs: {<1>}
                          spids: [182]
                        )
                      ]
                    )
                    (C {<export>} {<GETTEXT_LOCALE>})
                    (C {<say>} 
                      {
                        (DQ <'# lib-gettext: Found \''> ($ Id.VSub_DollarName '$is_IS_locale') 
                          <'\' as an is_IS UTF-8 locale'>
                        )
                      }
                    )
                  ]
                  spids: [140 165]
                )
              ]
              else_action: [(C {<say>} {(DQ <'# lib-gettext: No is_IS UTF-8 locale available'>)})]
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.AndOr
                          ops: [Id.Op_DAmp]
                          children: [
                            (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$is_IS_iso_locale'))})
                            (C {<test>} {($ Id.VSub_DollarName '$GIT_INTERNAL_GETTEXT_SH_SCHEME')} 
                              {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <fallthrough>)}
                            )
                          ]
                        )
                      ]
                    )
                  action: [
                    (C {<test_set_prereq>} {<GETTEXT_ISO_LOCALE>})
                    (C {<say>} 
                      {
                        (DQ <'# lib-gettext: Found \''> ($ Id.VSub_DollarName '$is_IS_iso_locale') 
                          <'\' as an is_IS ISO-8859-1 locale'>
                        )
                      }
                    )
                  ]
                  spids: [214 239]
                )
              ]
              else_action: [(C {<say>} {(DQ <'# lib-gettext: No is_IS ISO-8859-1 locale available'>)})]
            )
          ]
          spids: [48 62]
        )
      ]
    )
  ]
)