(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'XGETTEXT='> name:XGETTEXT)
          op: assign_op.Equal
          rhs: {<xgettext>}
          spids: [89]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'MSGDIR='> name:MSGDIR)
          op: assign_op.Equal
          rhs: {($ Id.VSub_Number 1)}
          spids: [92]
        )
      ]
      redirects: []
    )
    (C {<cd>} {<'./port/gen'>})
    (C {<rm>} {<-f>} {<Id.Lit_Star '*'> <.po>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'FILES='> name:FILES)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_Backtick '`'>
                child: 
                  (command.Pipeline
                    children: [
                      (C {<grep>} {<gettext>} {<Id.Lit_Star '*'> <.c>})
                      (C {<sed>} {(DQ <'s/:.*//'>)})
                      (C {<sort>})
                      (C {<sed>} {(DQ <'s/'> <Id.Lit_BadBackslash '\\'> <'.c//'>)})
                      (C {<uniq>})
                    ]
                    negated: F
                    stderr_indices: []
                  )
                right: <Id.Backtick_Right '`'>
              )
            }
          spids: [128]
        )
      ]
      redirects: []
    )
    (command.ForEach
      iter_names: [i]
      iterable: (for_iter.Words words:[{(${ Id.VSub_Name FILES)}])
      body: 
        (command.DoGroup
          children: [
            (command.Pipeline
              children: [
                (C {<cat>} {(${ Id.VSub_Name i) <.c>})
                (command.Simple
                  words: [{<sed>} {(DQ <'s/_libc_gettext/gettext/'>)}]
                  redirects: [
                    (redir
                      op: <Id.Redir_Great '>'>
                      loc: (redir_loc.Fd fd:1)
                      arg: {(${ Id.VSub_Name i) <.i>}
                    )
                  ]
                  more_env: []
                  do_fork: T
                )
              ]
              negated: F
              stderr_indices: []
            )
            (C {(${ Id.VSub_Name XGETTEXT)} {(${ Id.VSub_Name i) <.i>})
            (command.Pipeline
              children: [
                (C {<cat>} {<messages.po>})
                (command.Simple
                  words: [{<sed>} {(DQ <'/^domain/d'>)}]
                  redirects: [
                    (redir
                      op: <Id.Redir_Great '>'>
                      loc: (redir_loc.Fd fd:1)
                      arg: {(${ Id.VSub_Name i) <.po>}
                    )
                  ]
                  more_env: []
                  do_fork: T
                )
              ]
              negated: F
              stderr_indices: []
            )
            (C {<rm>} {<-f>} {(${ Id.VSub_Name i) <.i>} {<messages.po>})
          ]
        )
      redirects: []
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-f>} {<errlst.c>} 
                      {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (C {<awk>} {<-f>} {<errlist.awk>} {<errlist>})
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'rmerr='> name:rmerr)
                  op: assign_op.Equal
                  rhs: {(DQ <'errlst.c new_list.c'>)}
                  spids: [306]
                )
              ]
              redirects: []
            )
          ]
          spids: [281 294]
        )
      ]
      else_action: [
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'rmerr='> name:rmerr)
              op: assign_op.Equal
              rhs: (rhs_word.Empty)
              spids: [314]
            )
          ]
          redirects: []
        )
      ]
      redirects: []
    )
    (command.ForEach
      iter_names: [i]
      iterable: (for_iter.Words words:[{<siglist>} {<errlst>}])
      body: 
        (command.DoGroup
          children: [
            (command.Pipeline
              children: [
                (C {<cat>} {(${ Id.VSub_Name i) <.c>})
                (command.Simple
                  words: [{<sed>} {(DQ <'s/_libc_gettext/gettext/'>)}]
                  redirects: [
                    (redir
                      op: <Id.Redir_Great '>'>
                      loc: (redir_loc.Fd fd:1)
                      arg: {(${ Id.VSub_Name i) <.i>}
                    )
                  ]
                  more_env: []
                  do_fork: T
                )
              ]
              negated: F
              stderr_indices: []
            )
            (C {(${ Id.VSub_Name XGETTEXT)} {<-a>} {(${ Id.VSub_Name i) <.i>})
            (command.Pipeline
              children: [
                (C {<cat>} {<messages.po>})
                (command.Simple
                  words: [{<sed>} {(DQ <'/^domain/d'>)}]
                  redirects: [
                    (redir
                      op: <Id.Redir_Great '>'>
                      loc: (redir_loc.Fd fd:1)
                      arg: {(${ Id.VSub_Name i) <.po>}
                    )
                  ]
                  more_env: []
                  do_fork: T
                )
              ]
              negated: F
              stderr_indices: []
            )
            (C {<rm>} {<-f>} {(${ Id.VSub_Name i) <.i>} {<messages.po>})
          ]
        )
      redirects: []
    )
    (C {<cp>} {<Id.Lit_Star '*'> <.po>} {(${ Id.VSub_Name MSGDIR)})
    (C {<rm>} {<-f>} {<Id.Lit_Star '*'> <.po>} {(${ Id.VSub_Name rmerr)})
    (C {<cd>} {<'../regex'>})
    (C {<rm>} {<-f>} {<messages.po>} {<regerror.po>})
    (C {(${ Id.VSub_Name XGETTEXT)} {<-a>} {<regerror.c>})
    (command.Pipeline
      children: [
        (C {<cat>} {<messages.po>})
        (command.Simple
          words: [{<sed>} {(DQ <'/^domain/d'>)}]
          redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<regerror.po>})]
          more_env: []
          do_fork: T
        )
      ]
      negated: F
      stderr_indices: []
    )
    (C {<rm>} {<-f>} {<regerror.i>} {<messages.po>})
    (C {<cp>} {<regerror.po>} {(${ Id.VSub_Name MSGDIR)})
    (C {<rm>} {<-f>} {<regerror.po>})
  ]
)