(CommandList
  children: [
    (AndOr
      ops: [Op_DPipe]
      children: [(C {(test)} {(-z)} {(DQ ($ VSub_Name '$VERBOSE'))}) (C {(set)} {(-x)})]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (C {(test)} {(DQ ($ VSub_Name '$USE_ACL'))} {(Lit_Other '=')} {(0)})
        (BraceGroup
          children: [
            (C {(echo)} {(DQ ('Skipping test: insufficient ACL support'))})
            (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(77)})
          ]
          spids: [35]
        )
      ]
    )
    (FuncDef
      name: func_tmpdir
      body: 
        (BraceGroup
          children: [
            (C {(Lit_Other ':')} 
              {
                (BracedVarSub
                  token: <VSub_Name TMPDIR>
                  suffix_op: (StringUnary op_id:VTest_Equals arg_word:{(Lit_Slash /) (tmp)})
                  spids: [87 92]
                )
              }
            )
            (AndOr
              ops: [Op_DPipe Op_DPipe]
              children: [
                (BraceGroup
                  children: [
                    (AndOr
                      ops: [Op_DAmp Op_DAmp]
                      children: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:tmp)
                              op: Equal
                              rhs: 
                                {
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [
                                          (Subshell
                                            child: 
                                              (AndOr
                                                ops: [Op_DAmp]
                                                children: [
                                                  (C {(umask)} {(077)})
                                                  (C {(mktemp)} {(-d)} 
                                                    {(DQ ($ VSub_Name '$TMPDIR') (/glXXXXXX))}
                                                  )
                                                ]
                                              )
                                            redirects: [
                                              (Redir
                                                op_id: Redir_Great
                                                fd: 2
                                                arg_word: {(/dev/null)}
                                                spids: [125]
                                              )
                                            ]
                                            spids: [108 123]
                                          )
                                        ]
                                      )
                                    left_token: <Left_Backtick '`'>
                                    spids: [107 127]
                                  )
                                }
                              spids: [106]
                            )
                          ]
                          spids: [106]
                        )
                        (C {(test)} {(-n)} {(DQ ($ VSub_Name '$tmp'))})
                        (C {(test)} {(-d)} {(DQ ($ VSub_Name '$tmp'))})
                      ]
                    )
                  ]
                  spids: [95]
                )
                (BraceGroup
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:tmp)
                          op: Equal
                          rhs: 
                            {($ VSub_Name '$TMPDIR') (/gl) ($ VSub_Dollar '$$') (-) 
                              ($ VSub_Name '$RANDOM')
                            }
                          spids: [179]
                        )
                      ]
                      spids: [179]
                    )
                    (Subshell
                      child: 
                        (AndOr
                          ops: [Op_DAmp]
                          children: [(C {(umask)} {(077)}) (C {(mkdir)} {(DQ ($ VSub_Name '$tmp'))})]
                        )
                      spids: [187 199]
                    )
                  ]
                  spids: [156]
                )
                (BraceGroup
                  children: [
                    (SimpleCommand
                      words: [
                        {(echo)}
                        {
                          (DQ ($ VSub_Number '$0') (': cannot create a temporary directory in ') 
                            ($ VSub_Name '$TMPDIR')
                          )
                        }
                      ]
                      redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[218])]
                    )
                    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
                  ]
                  spids: [207]
                )
              ]
            )
          ]
          spids: [70]
        )
      spids: [65 69]
    )
    (C {(func_tmpdir)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:builddir)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: (CommandList children:[(C {(pwd)})])
                left_token: <Left_Backtick '`'>
                spids: [235 237]
              )
            }
          spids: [234]
        )
      ]
      spids: [234]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(cd)} {(DQ ($ VSub_Name '$builddir'))})
        (BraceGroup
          children: [
            (SimpleCommand
              words: [
                {(echo)}
                {
                  (DQ ($ VSub_Number '$0') 
                    (': cannot determine build directory (unreadable parent dir?)')
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[258])]
            )
            (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
          ]
          spids: [248]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (Subshell
          child: 
            (CommandList
              children: [
                (C {(cd)} {(DQ ($ VSub_Name '$tmp'))})
                (C {(rm)} {(-f)} {(tmpfile) (Lit_Other '[') (0-9) (Lit_Other ']')} 
                  {(tmpaclout) (Lit_Other '[') (0-2) (Lit_Other ']')}
                )
                (SimpleCommand
                  words: [{(echo)} {(DQ ('Simple contents'))}]
                  redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(tmpfile0)} spids:[313])]
                )
                (C {(chmod)} {(600)} {(tmpfile0)})
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:acl_flavor)
                      op: Equal
                      rhs: {(none)}
                      spids: [346]
                    )
                  ]
                  spids: [346]
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (Subshell
                              child: 
                                (SimpleCommand
                                  words: [{(getfacl)} {(tmpfile0)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(/dev/null)}
                                      spids: [357]
                                    )
                                  ]
                                )
                              redirects: [
                                (Redir
                                  op_id: Redir_Great
                                  fd: 2
                                  arg_word: {(/dev/null)}
                                  spids: [361]
                                )
                              ]
                              spids: [352 359]
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (Subshell
                                      child: 
                                        (SimpleCommand
                                          words: [{(setfacl)} {(--help)}]
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 16777215
                                              arg_word: {(/dev/null)}
                                              spids: [383]
                                            )
                                          ]
                                        )
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 2
                                          arg_word: {(/dev/null)}
                                          spids: [387]
                                        )
                                      ]
                                      spids: [378 385]
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: 
                                            (Subshell
                                              child: 
                                                (Pipeline
                                                  children: [
                                                    (SimpleCommand
                                                      words: [{(setfacl)} {(--help)}]
                                                      more_env: [
                                                        (env_pair
                                                          name: LC_ALL
                                                          val: {(C)}
                                                          spids: [401]
                                                        )
                                                      ]
                                                    )
                                                    (SimpleCommand
                                                      words: [{(grep)} {(SQ <' --set-file'>)}]
                                                      redirects: [
                                                        (Redir
                                                          op_id: Redir_Great
                                                          fd: 16777215
                                                          arg_word: {(/dev/null)}
                                                          spids: [416]
                                                        )
                                                      ]
                                                    )
                                                  ]
                                                  negated: F
                                                )
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 2
                                                  arg_word: {(/dev/null)}
                                                  spids: [420]
                                                )
                                              ]
                                              spids: [400 418]
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (LhsName name:acl_flavor)
                                              op: Equal
                                              rhs: {(linux)}
                                              spids: [431]
                                            )
                                          ]
                                          spids: [431]
                                        )
                                      ]
                                      spids: [16777215 424]
                                    )
                                  ]
                                  else_action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:acl_flavor)
                                          op: Equal
                                          rhs: {(cygwin)}
                                          spids: [438]
                                        )
                                      ]
                                      spids: [438]
                                    )
                                  ]
                                  spids: [435 442]
                                )
                              ]
                              spids: [16777215 391]
                            )
                          ]
                          else_action: [
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (Subshell
                                          child: 
                                            (Pipeline
                                              children: [
                                                (SimpleCommand
                                                  words: [{(setfacl)}]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_GreatAnd
                                                      fd: 2
                                                      arg_word: {(1)}
                                                      spids: [460]
                                                    )
                                                  ]
                                                  more_env: [
                                                    (env_pair
                                                      name: LC_ALL
                                                      val: {(C)}
                                                      spids: [455]
                                                    )
                                                  ]
                                                )
                                                (SimpleCommand
                                                  words: [{(grep)} {(SQ <'\\-x entries'>)}]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_Great
                                                      fd: 16777215
                                                      arg_word: {(/dev/null)}
                                                      spids: [471]
                                                    )
                                                  ]
                                                )
                                              ]
                                              negated: F
                                            )
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 2
                                              arg_word: {(/dev/null)}
                                              spids: [475]
                                            )
                                          ]
                                          spids: [454 473]
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:acl_flavor)
                                          op: Equal
                                          rhs: {(freebsd)}
                                          spids: [486]
                                        )
                                      ]
                                      spids: [486]
                                    )
                                  ]
                                  spids: [16777215 479]
                                )
                              ]
                              else_action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:acl_flavor)
                                      op: Equal
                                      rhs: {(solaris)}
                                      spids: [497]
                                    )
                                  ]
                                  spids: [497]
                                )
                              ]
                              spids: [490 501]
                            )
                          ]
                          spids: [445 504]
                        )
                      ]
                      spids: [16777215 365]
                    )
                  ]
                  else_action: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (Subshell
                                  child: 
                                    (SimpleCommand
                                      words: [{(lsacl)} {(/)}]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(/dev/null)}
                                          spids: [517]
                                        )
                                      ]
                                    )
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 2
                                      arg_word: {(/dev/null)}
                                      spids: [521]
                                    )
                                  ]
                                  spids: [512 519]
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (Subshell
                                          child: 
                                            (SimpleCommand
                                              words: [{(getacl)} {(tmpfile0)}]
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 16777215
                                                  arg_word: {(/dev/null)}
                                                  spids: [543]
                                                )
                                              ]
                                            )
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 2
                                              arg_word: {(/dev/null)}
                                              spids: [547]
                                            )
                                          ]
                                          spids: [538 545]
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:acl_flavor)
                                          op: Equal
                                          rhs: {(hpuxjfs)}
                                          spids: [558]
                                        )
                                      ]
                                      spids: [558]
                                    )
                                  ]
                                  spids: [16777215 551]
                                )
                              ]
                              else_action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:acl_flavor)
                                      op: Equal
                                      rhs: {(hpux)}
                                      spids: [569]
                                    )
                                  ]
                                  spids: [569]
                                )
                              ]
                              spids: [562 573]
                            )
                          ]
                          spids: [16777215 525]
                        )
                      ]
                      else_action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (Subshell
                                      child: 
                                        (SimpleCommand
                                          words: [{(getacl)} {(tmpfile0)}]
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 16777215
                                              arg_word: {(/dev/null)}
                                              spids: [586]
                                            )
                                          ]
                                        )
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 2
                                          arg_word: {(/dev/null)}
                                          spids: [590]
                                        )
                                      ]
                                      spids: [581 588]
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: 
                                            (Subshell
                                              child: 
                                                (SimpleCommand
                                                  words: [{(getacl)} {(-m)} {(tmpfile0)}]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_Great
                                                      fd: 16777215
                                                      arg_word: {(/dev/null)}
                                                      spids: [610]
                                                    )
                                                  ]
                                                )
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 2
                                                  arg_word: {(/dev/null)}
                                                  spids: [614]
                                                )
                                              ]
                                              spids: [603 612]
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (LhsName name:acl_flavor)
                                              op: Equal
                                              rhs: {(osf1)}
                                              spids: [625]
                                            )
                                          ]
                                          spids: [625]
                                        )
                                      ]
                                      spids: [16777215 618]
                                    )
                                  ]
                                  else_action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:acl_flavor)
                                          op: Equal
                                          rhs: {(nsk)}
                                          spids: [636]
                                        )
                                      ]
                                      spids: [636]
                                    )
                                  ]
                                  spids: [629 640]
                                )
                              ]
                              spids: [16777215 594]
                            )
                          ]
                          else_action: [
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (Subshell
                                          child: 
                                            (SimpleCommand
                                              words: [{(aclget)} {(tmpfile0)}]
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 16777215
                                                  arg_word: {(/dev/null)}
                                                  spids: [653]
                                                )
                                              ]
                                            )
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 2
                                              arg_word: {(/dev/null)}
                                              spids: [657]
                                            )
                                          ]
                                          spids: [648 655]
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:acl_flavor)
                                          op: Equal
                                          rhs: {(aix)}
                                          spids: [668]
                                        )
                                      ]
                                      spids: [668]
                                    )
                                  ]
                                  spids: [16777215 661]
                                )
                              ]
                              else_action: [
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: 
                                            (Subshell
                                              child: 
                                                (SimpleCommand
                                                  words: [{(fsaclctl)} {(-v)}]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_Great
                                                      fd: 16777215
                                                      arg_word: {(/dev/null)}
                                                      spids: [682]
                                                    )
                                                  ]
                                                )
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 2
                                                  arg_word: {(/dev/null)}
                                                  spids: [686]
                                                )
                                              ]
                                              spids: [677 684]
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (LhsName name:acl_flavor)
                                              op: Equal
                                              rhs: {(macosx)}
                                              spids: [697]
                                            )
                                          ]
                                          spids: [697]
                                        )
                                      ]
                                      spids: [16777215 690]
                                    )
                                  ]
                                  else_action: [
                                    (If
                                      arms: [
                                        (if_arm
                                          cond: [
                                            (Sentence
                                              child: (C {(test)} {(-f)} {(/sbin/chacl)})
                                              terminator: <Op_Semi ';'>
                                            )
                                          ]
                                          action: [
                                            (Assignment
                                              keyword: Assign_None
                                              pairs: [
                                                (assign_pair
                                                  lhs: (LhsName name:acl_flavor)
                                                  op: Equal
                                                  rhs: {(irix)}
                                                  spids: [720]
                                                )
                                              ]
                                              spids: [720]
                                            )
                                          ]
                                          spids: [16777215 713]
                                        )
                                      ]
                                      spids: [16777215 724]
                                    )
                                  ]
                                  spids: [701 727]
                                )
                              ]
                              spids: [672 730]
                            )
                          ]
                          spids: [643 733]
                        )
                      ]
                      spids: [576 736]
                    )
                  ]
                  spids: [507 739]
                )
                (Case
                  to_match: {($ VSub_Name '$acl_flavor')}
                  arms: [
                    (case_arm
                      pat_list: [{(linux)} {(cygwin)} {(freebsd)} {(solaris)}]
                      action: [
                        (FuncDef
                          name: func_test_same_acls
                          body: 
                            (BraceGroup
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(getfacl)} {(DQ ($ VSub_Number '$1'))})
                                    (SimpleCommand
                                      words: [
                                        {(sed)}
                                        {(-e)}
                                        {(DQ (s/) ($ VSub_Number '$1') (/FILENAME/g))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(tmpaclout1)}
                                          spids: [805]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: F
                                )
                                (Pipeline
                                  children: [
                                    (C {(getfacl)} {(DQ ($ VSub_Number '$2'))})
                                    (SimpleCommand
                                      words: [
                                        {(sed)}
                                        {(-e)}
                                        {(DQ (s/) ($ VSub_Number '$2') (/FILENAME/g))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(tmpaclout2)}
                                          spids: [828]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: F
                                )
                                (SimpleCommand
                                  words: [{(cmp)} {(tmpaclout1)} {(tmpaclout2)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(/dev/null)}
                                      spids: [839]
                                    )
                                  ]
                                )
                              ]
                              spids: [784]
                            )
                          spids: [778 782]
                        )
                      ]
                      spids: [762 775 847 16777215]
                    )
                    (case_arm
                      pat_list: [{(hpux)}]
                      action: [
                        (FuncDef
                          name: func_test_same_acls
                          body: 
                            (BraceGroup
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(lsacl)} {(DQ ($ VSub_Number '$1'))})
                                    (SimpleCommand
                                      words: [
                                        {(sed)}
                                        {(-e)}
                                        {(DQ (s/) ($ VSub_Number '$1') (/FILENAME/g))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(tmpaclout1)}
                                          spids: [881]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: F
                                )
                                (Pipeline
                                  children: [
                                    (C {(lsacl)} {(DQ ($ VSub_Number '$2'))})
                                    (SimpleCommand
                                      words: [
                                        {(sed)}
                                        {(-e)}
                                        {(DQ (s/) ($ VSub_Number '$2') (/FILENAME/g))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(tmpaclout2)}
                                          spids: [904]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: F
                                )
                                (SimpleCommand
                                  words: [{(cmp)} {(tmpaclout1)} {(tmpaclout2)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(/dev/null)}
                                      spids: [915]
                                    )
                                  ]
                                )
                              ]
                              spids: [860]
                            )
                          spids: [854 858]
                        )
                      ]
                      spids: [850 851 923 16777215]
                    )
                    (case_arm
                      pat_list: [{(hpuxjfs)}]
                      action: [
                        (FuncDef
                          name: func_test_same_acls
                          body: 
                            (BraceGroup
                              children: [
                                (AndOr
                                  ops: [Op_DAmp]
                                  children: [
                                    (BraceGroup
                                      children: [
                                        (Pipeline
                                          children: [
                                            (C {(lsacl)} {(DQ ($ VSub_Number '$1'))})
                                            (SimpleCommand
                                              words: [
                                                {(sed)}
                                                {(-e)}
                                                {(DQ (s/) ($ VSub_Number '$1') (/FILENAME/g))}
                                              ]
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 16777215
                                                  arg_word: {(tmpaclout1)}
                                                  spids: [959]
                                                )
                                              ]
                                            )
                                          ]
                                          negated: F
                                        )
                                        (Pipeline
                                          children: [
                                            (C {(lsacl)} {(DQ ($ VSub_Number '$2'))})
                                            (SimpleCommand
                                              words: [
                                                {(sed)}
                                                {(-e)}
                                                {(DQ (s/) ($ VSub_Number '$2') (/FILENAME/g))}
                                              ]
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 16777215
                                                  arg_word: {(tmpaclout2)}
                                                  spids: [982]
                                                )
                                              ]
                                            )
                                          ]
                                          negated: F
                                        )
                                        (SimpleCommand
                                          words: [{(cmp)} {(tmpaclout1)} {(tmpaclout2)}]
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 16777215
                                              arg_word: {(/dev/null)}
                                              spids: [993]
                                            )
                                          ]
                                        )
                                      ]
                                      spids: [939]
                                    )
                                    (BraceGroup
                                      children: [
                                        (Pipeline
                                          children: [
                                            (C {(getacl)} {(DQ ($ VSub_Number '$1'))})
                                            (SimpleCommand
                                              words: [
                                                {(sed)}
                                                {(-e)}
                                                {(DQ (s/) ($ VSub_Number '$1') (/FILENAME/g))}
                                              ]
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 16777215
                                                  arg_word: {(tmpaclout1)}
                                                  spids: [1023]
                                                )
                                              ]
                                            )
                                          ]
                                          negated: F
                                        )
                                        (Pipeline
                                          children: [
                                            (C {(getacl)} {(DQ ($ VSub_Number '$2'))})
                                            (SimpleCommand
                                              words: [
                                                {(sed)}
                                                {(-e)}
                                                {(DQ (s/) ($ VSub_Number '$2') (/FILENAME/g))}
                                              ]
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 16777215
                                                  arg_word: {(tmpaclout2)}
                                                  spids: [1046]
                                                )
                                              ]
                                            )
                                          ]
                                          negated: F
                                        )
                                        (SimpleCommand
                                          words: [{(cmp)} {(tmpaclout1)} {(tmpaclout2)}]
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 16777215
                                              arg_word: {(/dev/null)}
                                              spids: [1057]
                                            )
                                          ]
                                        )
                                      ]
                                      spids: [1003]
                                    )
                                  ]
                                )
                              ]
                              spids: [936]
                            )
                          spids: [930 934]
                        )
                      ]
                      spids: [926 927 1068 16777215]
                    )
                    (case_arm
                      pat_list: [{(osf1)} {(nsk)}]
                      action: [
                        (FuncDef
                          name: func_test_same_acls
                          body: 
                            (BraceGroup
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(getacl)} {(DQ ($ VSub_Number '$1'))})
                                    (SimpleCommand
                                      words: [
                                        {(sed)}
                                        {(-e)}
                                        {(DQ (s/) ($ VSub_Number '$1') (/FILENAME/g))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(tmpaclout1)}
                                          spids: [1106]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: F
                                )
                                (Pipeline
                                  children: [
                                    (C {(getacl)} {(DQ ($ VSub_Number '$2'))})
                                    (SimpleCommand
                                      words: [
                                        {(sed)}
                                        {(-e)}
                                        {(DQ (s/) ($ VSub_Number '$2') (/FILENAME/g))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(tmpaclout2)}
                                          spids: [1129]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: F
                                )
                                (SimpleCommand
                                  words: [{(cmp)} {(tmpaclout1)} {(tmpaclout2)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(/dev/null)}
                                      spids: [1140]
                                    )
                                  ]
                                )
                              ]
                              spids: [1085]
                            )
                          spids: [1079 1083]
                        )
                      ]
                      spids: [1071 1076 1148 16777215]
                    )
                    (case_arm
                      pat_list: [{(aix)}]
                      action: [
                        (FuncDef
                          name: func_test_same_acls
                          body: 
                            (BraceGroup
                              children: [
                                (SimpleCommand
                                  words: [{(aclget)} {(DQ ($ VSub_Number '$1'))}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpaclout1)}
                                      spids: [1170]
                                    )
                                  ]
                                )
                                (SimpleCommand
                                  words: [{(aclget)} {(DQ ($ VSub_Number '$2'))}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpaclout2)}
                                      spids: [1181]
                                    )
                                  ]
                                )
                                (SimpleCommand
                                  words: [{(cmp)} {(tmpaclout1)} {(tmpaclout2)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(/dev/null)}
                                      spids: [1192]
                                    )
                                  ]
                                )
                              ]
                              spids: [1161]
                            )
                          spids: [1155 1159]
                        )
                      ]
                      spids: [1151 1152 1200 16777215]
                    )
                    (case_arm
                      pat_list: [{(macosx)}]
                      action: [
                        (FuncDef
                          name: func_test_same_acls
                          body: 
                            (BraceGroup
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(/bin/ls)} {(-le)} {(DQ ($ VSub_Number '$1'))})
                                    (SimpleCommand
                                      words: [
                                        {(sed)}
                                        {(-e)}
                                        {(DQ (s/) ($ VSub_Number '$1') (/FILENAME/g))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(tmpaclout1)}
                                          spids: [1236]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: F
                                )
                                (Pipeline
                                  children: [
                                    (C {(/bin/ls)} {(-le)} {(DQ ($ VSub_Number '$2'))})
                                    (SimpleCommand
                                      words: [
                                        {(sed)}
                                        {(-e)}
                                        {(DQ (s/) ($ VSub_Number '$2') (/FILENAME/g))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(tmpaclout2)}
                                          spids: [1261]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: F
                                )
                                (SimpleCommand
                                  words: [{(cmp)} {(tmpaclout1)} {(tmpaclout2)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(/dev/null)}
                                      spids: [1272]
                                    )
                                  ]
                                )
                              ]
                              spids: [1213]
                            )
                          spids: [1207 1211]
                        )
                      ]
                      spids: [1203 1204 1280 16777215]
                    )
                    (case_arm
                      pat_list: [{(irix)}]
                      action: [
                        (FuncDef
                          name: func_test_same_acls
                          body: 
                            (BraceGroup
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(/bin/ls)} {(-lD)} {(DQ ($ VSub_Number '$1'))})
                                    (SimpleCommand
                                      words: [
                                        {(sed)}
                                        {(-e)}
                                        {(DQ (s/) ($ VSub_Number '$1') (/FILENAME/g))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(tmpaclout1)}
                                          spids: [1316]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: F
                                )
                                (Pipeline
                                  children: [
                                    (C {(/bin/ls)} {(-lD)} {(DQ ($ VSub_Number '$2'))})
                                    (SimpleCommand
                                      words: [
                                        {(sed)}
                                        {(-e)}
                                        {(DQ (s/) ($ VSub_Number '$2') (/FILENAME/g))}
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 16777215
                                          arg_word: {(tmpaclout2)}
                                          spids: [1341]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: F
                                )
                                (SimpleCommand
                                  words: [{(cmp)} {(tmpaclout1)} {(tmpaclout2)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(/dev/null)}
                                      spids: [1352]
                                    )
                                  ]
                                )
                              ]
                              spids: [1293]
                            )
                          spids: [1287 1291]
                        )
                      ]
                      spids: [1283 1284 1360 16777215]
                    )
                    (case_arm
                      pat_list: [{(none)}]
                      action: [
                        (FuncDef
                          name: func_test_same_acls
                          body: (BraceGroup children:[(C {(Lit_Other ':')})] spids:[1373])
                          spids: [1367 1371]
                        )
                      ]
                      spids: [1363 1364 1382 16777215]
                    )
                  ]
                  spids: [755 759 1385]
                )
                (FuncDef
                  name: func_test_copy
                  body: 
                    (BraceGroup
                      children: [
                        (SimpleCommand
                          words: [{(echo)} {(DQ ('Simple contents'))}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 16777215
                              arg_word: {(DQ ($ VSub_Number '$2'))}
                              spids: [1416]
                            )
                          ]
                        )
                        (C {(chmod)} {(600)} {(DQ ($ VSub_Number '$2'))})
                        (AndOr
                          ops: [Op_DPipe]
                          children: [
                            (C {(DQ ($ VSub_Name '$builddir')) (/test-copy-acl) (${ VSub_Name EXEEXT)} 
                              {(DQ ($ VSub_Number '$1'))} {(DQ ($ VSub_Number '$2'))}
                            )
                            (ControlFlow
                              token: <ControlFlow_Exit exit>
                              arg_word: {(1)}
                            )
                          ]
                        )
                        (AndOr
                          ops: [Op_DPipe]
                          children: [
                            (C {(DQ ($ VSub_Name '$builddir')) (/test-sameacls) (${ VSub_Name EXEEXT)} 
                              {(DQ ($ VSub_Number '$1'))} {(DQ ($ VSub_Number '$2'))}
                            )
                            (ControlFlow
                              token: <ControlFlow_Exit exit>
                              arg_word: {(1)}
                            )
                          ]
                        )
                        (AndOr
                          ops: [Op_DPipe]
                          children: [
                            (C {(func_test_same_acls)} {(DQ ($ VSub_Number '$1'))} 
                              {(DQ ($ VSub_Number '$2'))}
                            )
                            (ControlFlow
                              token: <ControlFlow_Exit exit>
                              arg_word: {(1)}
                            )
                          ]
                        )
                      ]
                      spids: [1407]
                    )
                  spids: [1401 1405]
                )
                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile1)})
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (C {(test)} {($ VSub_Name '$acl_flavor')} {(KW_Bang '!') (Lit_Other '=')} 
                              {(none)}
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: (C {(test)} {(-f)} {(/usr/xpg4/bin/id)})
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:ID)
                                      op: Equal
                                      rhs: {(/usr/xpg4/bin/id)}
                                      spids: [1538]
                                    )
                                  ]
                                  spids: [1538]
                                )
                              ]
                              spids: [16777215 1535]
                            )
                          ]
                          else_action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:ID)
                                  op: Equal
                                  rhs: {(id)}
                                  spids: [1545]
                                )
                              ]
                              spids: [1545]
                            )
                          ]
                          spids: [1542 1549]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:myuid)
                              op: Equal
                              rhs: 
                                {
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [(C {($ VSub_Name '$ID')} {(-u)})]
                                      )
                                    left_token: <Left_Backtick '`'>
                                    spids: [1561 1565]
                                  )
                                }
                              spids: [1560]
                            )
                          ]
                          spids: [1560]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:mygid)
                              op: Equal
                              rhs: 
                                {
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [(C {($ VSub_Name '$ID')} {(-g)})]
                                      )
                                    left_token: <Left_Backtick '`'>
                                    spids: [1569 1573]
                                  )
                                }
                              spids: [1568]
                            )
                          ]
                          spids: [1568]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:auid)
                              op: Equal
                              rhs: {(1)}
                              spids: [1576]
                            )
                          ]
                          spids: [1576]
                        )
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (C {(test)} {(DQ ($ VSub_Name '$auid'))} {(Lit_Other '=')} 
                                      {(DQ ($ VSub_Name '$myuid'))}
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (Sentence
                                  child: 
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:auid)
                                          op: Equal
                                          rhs: {(2)}
                                          spids: [1597]
                                        )
                                      ]
                                      spids: [1597]
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              spids: [16777215 1595]
                            )
                          ]
                          spids: [16777215 1601]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:agid)
                              op: Equal
                              rhs: {(1)}
                              spids: [1604]
                            )
                          ]
                          spids: [1604]
                        )
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (C {(test)} {(DQ ($ VSub_Name '$agid'))} {(Lit_Other '=')} 
                                      {(DQ ($ VSub_Name '$mygid'))}
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (Sentence
                                  child: 
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:agid)
                                          op: Equal
                                          rhs: {(2)}
                                          spids: [1625]
                                        )
                                      ]
                                      spids: [1625]
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              spids: [16777215 1623]
                            )
                          ]
                          spids: [16777215 1629]
                        )
                        (Case
                          to_match: {($ VSub_Name '$acl_flavor')}
                          arms: [
                            (case_arm
                              pat_list: [{(linux)} {(freebsd)} {(solaris)}]
                              action: [
                                (C {(setfacl)} {(-m)} 
                                  {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1)} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile2)})
                                (C {(setfacl)} {(-m)} 
                                  {(group) (Lit_Other ':') ($ VSub_Name '$agid') (Lit_Other ':') (4)} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile3)})
                                (Case
                                  to_match: {($ VSub_Name '$acl_flavor')}
                                  arms: [
                                    (case_arm
                                      pat_list: [{(freebsd)}]
                                      action: [
                                        (C {(setfacl)} {(-m)} 
                                          {(other) (Lit_Other ':') (Lit_Other ':') (4)} {(tmpfile0)}
                                        )
                                      ]
                                      spids: [1716 1717 1730 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(solaris)}]
                                      action: [(C {(chmod)} {(o) (Lit_Other '+') (r)} {(tmpfile0)})]
                                      spids: [1733 1734 1744 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(Lit_Other '*')}]
                                      action: [
                                        (C {(setfacl)} {(-m)} {(other) (Lit_Other ':') (4)} {(tmpfile0)})
                                      ]
                                      spids: [1747 1748 1760 16777215]
                                    )
                                  ]
                                  spids: [1709 1713 1763]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile4)})
                                (Case
                                  to_match: {($ VSub_Name '$acl_flavor')}
                                  arms: [
                                    (case_arm
                                      pat_list: [{(linux)}]
                                      action: [
                                        (C {(setfacl)} {(-x)} 
                                          {(user) (Lit_Other ':') ($ VSub_Name '$auid')} {(tmpfile0)}
                                        )
                                      ]
                                      spids: [1786 1787 1799 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(freebsd)}]
                                      action: [
                                        (C {(setfacl)} {(-x)} 
                                          {(user) (Lit_Other ':') ($ VSub_Name '$auid') 
                                            (Lit_Other ':') (1)
                                          } {(tmpfile0)}
                                        )
                                      ]
                                      spids: [1802 1803 1817 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(Lit_Other '*')}]
                                      action: [
                                        (C {(setfacl)} {(-d)} 
                                          {(user) (Lit_Other ':') ($ VSub_Name '$auid') 
                                            (Lit_Other ':') (1)
                                          } {(tmpfile0)}
                                        )
                                      ]
                                      spids: [1820 1821 1835 16777215]
                                    )
                                  ]
                                  spids: [1779 1783 1838]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile5)})
                                (Case
                                  to_match: {($ VSub_Name '$acl_flavor')}
                                  arms: [
                                    (case_arm
                                      pat_list: [{(linux)} {(solaris)}]
                                      spids: [1861 1866 1868 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(freebsd)}]
                                      action: [
                                        (C {(setfacl)} {(-x)} 
                                          {(other) (Lit_Other ':') (Lit_Other ':') (4)} {(tmpfile0)}
                                        )
                                      ]
                                      spids: [1874 1875 1888 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(Lit_Other '*')}]
                                      action: [
                                        (C {(setfacl)} {(-d)} {(other) (Lit_Other ':') (4)} {(tmpfile0)})
                                      ]
                                      spids: [1891 1892 1904 16777215]
                                    )
                                  ]
                                  spids: [1854 1858 1907]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile6)})
                                (Case
                                  to_match: {($ VSub_Name '$acl_flavor')}
                                  arms: [
                                    (case_arm
                                      pat_list: [{(linux)}]
                                      action: [
                                        (C {(setfacl)} {(-x)} 
                                          {(group) (Lit_Other ':') ($ VSub_Name '$agid')} {(tmpfile0)}
                                        )
                                      ]
                                      spids: [1930 1931 1943 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(freebsd)}]
                                      action: [
                                        (C {(setfacl)} {(-x)} 
                                          {(group) (Lit_Other ':') ($ VSub_Name '$agid') 
                                            (Lit_Other ':') (4)
                                          } {(tmpfile0)}
                                        )
                                      ]
                                      spids: [1946 1947 1961 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(Lit_Other '*')}]
                                      action: [
                                        (C {(setfacl)} {(-d)} 
                                          {(group) (Lit_Other ':') ($ VSub_Name '$agid') 
                                            (Lit_Other ':') (4)
                                          } {(tmpfile0)}
                                        )
                                      ]
                                      spids: [1964 1965 1979 16777215]
                                    )
                                  ]
                                  spids: [1923 1927 1982]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile7)})
                                (Case
                                  to_match: {($ VSub_Name '$acl_flavor')}
                                  arms: [
                                    (case_arm
                                      pat_list: [{(linux)} {(freebsd)}]
                                      action: [
                                        (C {(setfacl)} {(-m)} 
                                          {(user) (Lit_Other ':') ($ VSub_Name '$auid') 
                                            (Lit_Other ':') (1)
                                          } {(tmpfile0)}
                                        )
                                        (C {(setfacl)} {(-b)} {(tmpfile0)})
                                      ]
                                      spids: [2005 2010 2033 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(Lit_Other '*')}]
                                      action: [
                                        (C {(setfacl)} {(-s)} 
                                          {(user) (Lit_Other ':') (Lit_Other ':') (6) (Lit_Comma ',') 
                                            (group) (Lit_Other ':') (Lit_Other ':') (0) (Lit_Comma ',') (other) (Lit_Other ':') (0)
                                          } {(tmpfile0)}
                                        )
                                      ]
                                      spids: [2036 2037 2060 16777215]
                                    )
                                  ]
                                  spids: [1998 2002 2063]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile8)})
                                (SimpleCommand
                                  words: [{(echo)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpfile9)}
                                      spids: [2081]
                                    )
                                  ]
                                )
                                (C {(chmod)} {(a) (Lit_Other '+') (x)} {(tmpfile9)})
                                (Case
                                  to_match: {($ VSub_Name '$acl_flavor')}
                                  arms: [
                                    (case_arm
                                      pat_list: [{(linux)}]
                                      action: [
                                        (Pipeline
                                          children: [
                                            (C {(getfacl)} {(tmpfile9)})
                                            (C {(setfacl)} {(--set-file) (Lit_Other '=') (-)} 
                                              {(tmpfile0)}
                                            )
                                          ]
                                          negated: F
                                        )
                                      ]
                                      spids: [2102 2103 2119 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(freebsd)}]
                                      spids: [2122 2123 2125 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(Lit_Other '*')}]
                                      action: [
                                        (Pipeline
                                          children: [
                                            (C {(getfacl)} {(tmpfile9)})
                                            (C {(setfacl)} {(-f)} {(-)} {(tmpfile0)})
                                          ]
                                          negated: F
                                        )
                                      ]
                                      spids: [2128 2129 2145 16777215]
                                    )
                                  ]
                                  spids: [2095 2099 2148]
                                )
                                (C {(rm)} {(-f)} {(tmpfile9)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile9)})
                              ]
                              spids: [1640 1649 2167 16777215]
                            )
                            (case_arm
                              pat_list: [{(cygwin)}]
                              action: [
                                (C {(setfacl)} {(-m)} {(group) (Lit_Other ':') (0) (Lit_Other ':') (1)} 
                                  {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile2)})
                                (C {(setfacl)} {(-m)} {(other) (Lit_Other ':') (4)} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile4)})
                                (C {(setfacl)} {(-d)} {(group) (Lit_Other ':') (0)} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile5)})
                                (C {(setfacl)} {(-d)} {(other) (Lit_Other ':') (4)} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile6)})
                                (C {(setfacl)} {(-s)} 
                                  {(user) (Lit_Other ':') (Lit_Other ':') (6) (Lit_Comma ',') (group) 
                                    (Lit_Other ':') (Lit_Other ':') (0) (Lit_Comma ',') (other) (Lit_Other ':') (0)
                                  } {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile8)})
                                (SimpleCommand
                                  words: [{(echo)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpfile9)}
                                      spids: [2314]
                                    )
                                  ]
                                )
                                (C {(chmod)} {(a) (Lit_Other '+') (x)} {(tmpfile9)})
                                (Pipeline
                                  children: [
                                    (C {(getfacl)} {(tmpfile9)})
                                    (C {(setfacl)} {(-f)} {(-)} {(tmpfile0)})
                                  ]
                                  negated: F
                                )
                                (C {(rm)} {(-f)} {(tmpfile9)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile9)})
                              ]
                              spids: [2171 2172 2359 16777215]
                            )
                            (case_arm
                              pat_list: [{(hpux)}]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:orig)
                                      op: Equal
                                      rhs: 
                                        {
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (C {(lsacl)} {(tmpfile0)})
                                                      (C {(sed)} {(-e)} {(SQ <'s/ tmpfile0$//'>)})
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_Backtick '`'>
                                            spids: [2373 2387]
                                          )
                                        }
                                      spids: [2372]
                                    )
                                  ]
                                  spids: [2372]
                                )
                                (C {(chacl)} {(-r)} 
                                  {(DQ (${ VSub_Name orig) ('(') ($ VSub_Name '$auid') ('.%,--x)'))} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile2)})
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:orig)
                                      op: Equal
                                      rhs: 
                                        {
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (C {(lsacl)} {(tmpfile0)})
                                                      (C {(sed)} {(-e)} {(SQ <'s/ tmpfile0$//'>)})
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_Backtick '`'>
                                            spids: [2420 2434]
                                          )
                                        }
                                      spids: [2419]
                                    )
                                  ]
                                  spids: [2419]
                                )
                                (C {(chacl)} {(-r)} 
                                  {(DQ (${ VSub_Name orig) ('(%.') ($ VSub_Name '$agid') (',r--)'))} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile3)})
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:orig)
                                      op: Equal
                                      rhs: 
                                        {
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (C {(lsacl)} {(tmpfile0)})
                                                      (C {(sed)} {(-e)} {(SQ <'s/ tmpfile0$//'>)})
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_Backtick '`'>
                                            spids: [2467 2481]
                                          )
                                        }
                                      spids: [2466]
                                    )
                                  ]
                                  spids: [2466]
                                )
                                (C {(chacl)} {(-r)} {(DQ (${ VSub_Name orig) ('(%.%,r--)'))} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile4)})
                                (C {(chacl)} {(-d)} {(DQ ('(') ($ VSub_Name '$auid') ('.%,--x)'))} 
                                  {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile5)})
                                (C {(chacl)} {(-d)} {(DQ ('(%.') ($ VSub_Name '$agid') (',r--)'))} 
                                  {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile6)})
                                (C {(chacl)} {(-z)} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile8)})
                                (SimpleCommand
                                  words: [{(echo)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpfile9)}
                                      spids: [2585]
                                    )
                                  ]
                                )
                                (C {(chmod)} {(a) (Lit_Other '+') (x)} {(tmpfile9)})
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:orig)
                                      op: Equal
                                      rhs: 
                                        {
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (C {(lsacl)} {(tmpfile9)})
                                                      (C {(sed)} {(-e)} {(SQ <'s/ tmpfile9$//'>)})
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_Backtick '`'>
                                            spids: [2600 2614]
                                          )
                                        }
                                      spids: [2599]
                                    )
                                  ]
                                  spids: [2599]
                                )
                                (C {(rm)} {(-f)} {(tmpfile9)})
                                (C {(chacl)} {(-r)} {(DQ (${ VSub_Name orig))} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile9)})
                              ]
                              spids: [2363 2364 2646 16777215]
                            )
                            (case_arm
                              pat_list: [{(hpuxjfs)}]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:orig)
                                      op: Equal
                                      rhs: 
                                        {
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (C {(lsacl)} {(tmpfile0)})
                                                      (C {(sed)} {(-e)} {(SQ <'s/ tmpfile0$//'>)})
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_Backtick '`'>
                                            spids: [2660 2674]
                                          )
                                        }
                                      spids: [2659]
                                    )
                                  ]
                                  spids: [2659]
                                )
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(chacl)} {(-r)} 
                                      {
                                        (DQ (${ VSub_Name orig) ('(') ($ VSub_Name '$auid') ('.%,--x)'))
                                      } {(tmpfile0)}
                                    )
                                    (C {(setacl)} {(-m)} 
                                      {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1)} {(tmpfile0)}
                                    )
                                  ]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile2)})
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:orig)
                                      op: Equal
                                      rhs: 
                                        {
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (C {(lsacl)} {(tmpfile0)})
                                                      (C {(sed)} {(-e)} {(SQ <'s/ tmpfile0$//'>)})
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_Backtick '`'>
                                            spids: [2723 2737]
                                          )
                                        }
                                      spids: [2722]
                                    )
                                  ]
                                  spids: [2722]
                                )
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(chacl)} {(-r)} 
                                      {
                                        (DQ (${ VSub_Name orig) ('(%.') ($ VSub_Name '$agid') (',r--)'))
                                      } {(tmpfile0)}
                                    )
                                    (C {(setacl)} {(-m)} 
                                      {(group) (Lit_Other ':') ($ VSub_Name '$agid') (Lit_Other ':') 
                                        (4)
                                      } {(tmpfile0)}
                                    )
                                  ]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile3)})
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:orig)
                                      op: Equal
                                      rhs: 
                                        {
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (C {(lsacl)} {(tmpfile0)})
                                                      (C {(sed)} {(-e)} {(SQ <'s/ tmpfile0$//'>)})
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_Backtick '`'>
                                            spids: [2786 2800]
                                          )
                                        }
                                      spids: [2785]
                                    )
                                  ]
                                  spids: [2785]
                                )
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(chacl)} {(-r)} {(DQ (${ VSub_Name orig) ('(%.%,r--)'))} 
                                      {(tmpfile0)}
                                    )
                                    (C {(setacl)} {(-m)} {(other) (Lit_Other ':') (4)} {(tmpfile0)})
                                  ]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile4)})
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(chacl)} {(-d)} {(DQ ('(') ($ VSub_Name '$auid') ('.%,--x)'))} 
                                      {(tmpfile0)}
                                    )
                                    (C {(setacl)} {(-d)} {(user) (Lit_Other ':') ($ VSub_Name '$auid')} 
                                      {(tmpfile0)}
                                    )
                                  ]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile5)})
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(chacl)} {(-d)} {(DQ ('(%.') ($ VSub_Name '$agid') (',r--)'))} 
                                      {(tmpfile0)}
                                    )
                                    (C {(setacl)} {(-d)} {(group) (Lit_Other ':') ($ VSub_Name '$agid')} 
                                      {(tmpfile0)}
                                    )
                                  ]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile6)})
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(chacl)} {(-z)} {(tmpfile0)})
                                    (BraceGroup
                                      children: [
                                        (C {(setacl)} {(-m)} 
                                          {(user) (Lit_Other ':') ($ VSub_Name '$auid') 
                                            (Lit_Other ':') (1)
                                          } {(tmpfile0)}
                                        )
                                        (C {(setacl)} {(-s)} 
                                          {(user) (Lit_Other ':') (Lit_Other ':') (6) (Lit_Comma ',') 
                                            (group) (Lit_Other ':') (Lit_Other ':') (0) (Lit_Comma ',') (class) (Lit_Other ':') (7) (Lit_Comma ',') (other) 
                                            (Lit_Other ':') (0)
                                          } {(tmpfile0)}
                                        )
                                      ]
                                      spids: [2934]
                                    )
                                  ]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile8)})
                                (SimpleCommand
                                  words: [{(echo)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpfile9)}
                                      spids: [2992]
                                    )
                                  ]
                                )
                                (C {(chmod)} {(a) (Lit_Other '+') (x)} {(tmpfile9)})
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:orig)
                                      op: Equal
                                      rhs: 
                                        {
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (C {(lsacl)} {(tmpfile9)})
                                                      (C {(sed)} {(-e)} {(SQ <'s/ tmpfile9$//'>)})
                                                    ]
                                                    negated: F
                                                  )
                                                ]
                                              )
                                            left_token: <Left_Backtick '`'>
                                            spids: [3007 3021]
                                          )
                                        }
                                      spids: [3006]
                                    )
                                  ]
                                  spids: [3006]
                                )
                                (SimpleCommand
                                  words: [{(getacl)} {(tmpfile9)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpaclout0)}
                                      spids: [3028]
                                    )
                                  ]
                                )
                                (C {(rm)} {(-f)} {(tmpfile9)})
                                (AndOr
                                  ops: [Op_DPipe]
                                  children: [
                                    (C {(chacl)} {(-r)} {(DQ (${ VSub_Name orig))} {(tmpfile0)})
                                    (C {(setacl)} {(-f)} {(tmpaclout0)} {(tmpfile0)})
                                  ]
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile9)})
                              ]
                              spids: [2650 2651 3074 16777215]
                            )
                            (case_arm
                              pat_list: [{(osf1)}]
                              action: [
                                (C {(setacl)} {(-u)} 
                                  {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1)} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile2)})
                                (C {(setacl)} {(-u)} 
                                  {(group) (Lit_Other ':') ($ VSub_Name '$agid') (Lit_Other ':') (4)} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile3)})
                                (C {(setacl)} {(-u)} {(other) (Lit_Other ':') (Lit_Other ':') (4)} 
                                  {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile4)})
                                (C {(setacl)} {(-x)} 
                                  {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1)} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile5)})
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [(Sentence child:(C {(false)}) terminator:<Op_Semi ';'>)]
                                      action: [
                                        (C {(setacl)} {(-x)} 
                                          {(other) (Lit_Other ':') (Lit_Other ':') (4)} {(tmpfile0)}
                                        )
                                        (C {(func_test_copy)} {(tmpfile0)} {(tmpfile6)})
                                      ]
                                      spids: [16777215 3191]
                                    )
                                  ]
                                  spids: [16777215 3221]
                                )
                                (C {(setacl)} {(-x)} 
                                  {(group) (Lit_Other ':') ($ VSub_Name '$agid') (Lit_Other ':') (4)} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile7)})
                                (C {(setacl)} {(-u)} 
                                  {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1)} {(tmpfile0)}
                                )
                                (C {(setacl)} {(-b)} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile8)})
                                (SimpleCommand
                                  words: [{(echo)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpfile9)}
                                      spids: [3290]
                                    )
                                  ]
                                )
                                (C {(chmod)} {(a) (Lit_Other '+') (x)} {(tmpfile9)})
                                (SimpleCommand
                                  words: [{(getacl)} {(tmpfile9)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpaclout0)}
                                      spids: [3308]
                                    )
                                  ]
                                )
                                (C {(setacl)} {(-b)} {(-U)} {(tmpaclout0)} {(tmpfile0)})
                                (C {(rm)} {(-f)} {(tmpfile9)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile9)})
                              ]
                              spids: [3078 3079 3340 16777215]
                            )
                            (case_arm
                              pat_list: [{(nsk)}]
                              action: [
                                (C {(setacl)} {(-m)} 
                                  {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1)} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile2)})
                                (C {(setacl)} {(-m)} 
                                  {(group) (Lit_Other ':') ($ VSub_Name '$agid') (Lit_Other ':') (4)} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile3)})
                                (C {(setacl)} {(-m)} {(other) (Lit_Other ':') (4)} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile4)})
                                (C {(setacl)} {(-d)} {(user) (Lit_Other ':') ($ VSub_Name '$auid')} 
                                  {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile5)})
                                (C {(setacl)} {(-d)} {(group) (Lit_Other ':') ($ VSub_Name '$agid')} 
                                  {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile6)})
                                (C {(setacl)} {(-m)} 
                                  {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1)} {(tmpfile0)}
                                )
                                (C {(setacl)} {(-s)} 
                                  {(user) (Lit_Other ':') (Lit_Other ':') (6) (Lit_Comma ',') (group) 
                                    (Lit_Other ':') (Lit_Other ':') (0) (Lit_Comma ',') (class) (Lit_Other ':') (7) (Lit_Comma ',') (other) (Lit_Other ':') (0)
                                  } {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile8)})
                                (SimpleCommand
                                  words: [{(echo)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpfile9)}
                                      spids: [3530]
                                    )
                                  ]
                                )
                                (C {(chmod)} {(a) (Lit_Other '+') (x)} {(tmpfile9)})
                                (SimpleCommand
                                  words: [{(getacl)} {(tmpfile9)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpaclout0)}
                                      spids: [3548]
                                    )
                                  ]
                                )
                                (C {(setacl)} {(-f)} {(tmpaclout0)} {(tmpfile0)})
                                (C {(rm)} {(-f)} {(tmpfile9)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile9)})
                              ]
                              spids: [3344 3345 3578 16777215]
                            )
                            (case_arm
                              pat_list: [{(aix)}]
                              action: [
                                (Pipeline
                                  children: [
                                    (BraceGroup
                                      children: [
                                        (Sentence
                                          child: 
                                            (Pipeline
                                              children: [
                                                (C {(aclget)} {(tmpfile0)})
                                                (C {(sed)} {(-e)} {(SQ <'s/disabled$/enabled/'>)})
                                              ]
                                              negated: F
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                        (Sentence
                                          child: 
                                            (C {(echo)} 
                                              {(DQ ('        permit --x u:') ($ VSub_Name '$auid'))}
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      spids: [3591]
                                    )
                                    (C {(aclput)} {(tmpfile0)})
                                  ]
                                  negated: F
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile2)})
                                (Pipeline
                                  children: [
                                    (BraceGroup
                                      children: [
                                        (Sentence
                                          child: 
                                            (Pipeline
                                              children: [
                                                (C {(aclget)} {(tmpfile0)})
                                                (C {(sed)} {(-e)} {(SQ <'s/disabled$/enabled/'>)})
                                              ]
                                              negated: F
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                        (Sentence
                                          child: 
                                            (C {(echo)} 
                                              {(DQ ('        permit r-- g:') ($ VSub_Name '$agid'))}
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      spids: [3638]
                                    )
                                    (C {(aclput)} {(tmpfile0)})
                                  ]
                                  negated: F
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile3)})
                                (C {(chmod)} {(o) (Lit_Other '+') (r)} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile4)})
                                (Pipeline
                                  children: [
                                    (C {(aclget)} {(tmpfile0)})
                                    (C {(grep)} {(-v)} {(SQ <' u:[^ ]*$'>)})
                                    (C {(aclput)} {(tmpfile0)})
                                  ]
                                  negated: F
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile5)})
                                (Pipeline
                                  children: [
                                    (C {(aclget)} {(tmpfile0)})
                                    (C {(grep)} {(-v)} {(SQ <' g:[^ ]*$'>)})
                                    (C {(aclput)} {(tmpfile0)})
                                  ]
                                  negated: F
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile7)})
                                (Pipeline
                                  children: [
                                    (C {(aclget)} {(tmpfile0)})
                                    (C {(sed)} {(-e)} {(SQ <'s/enabled$/disabled/'>)})
                                    (C {(sed)} {(-e)} {(SQ <'/disabled$/q'>)})
                                    (C {(aclput)} {(tmpfile0)})
                                  ]
                                  negated: F
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile8)})
                                (SimpleCommand
                                  words: [{(echo)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpfile9)}
                                      spids: [3821]
                                    )
                                  ]
                                )
                                (C {(chmod)} {(a) (Lit_Other '+') (x)} {(tmpfile9)})
                                (Pipeline
                                  children: [(C {(aclget)} {(tmpfile9)}) (C {(aclput)} {(tmpfile0)})]
                                  negated: F
                                )
                                (C {(rm)} {(-f)} {(tmpfile9)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile9)})
                              ]
                              spids: [3582 3583 3862 16777215]
                            )
                            (case_arm
                              pat_list: [{(macosx)}]
                              action: [
                                (C {(/bin/chmod)} {(Lit_Other '+') (a)} 
                                  {(DQ ('user:daemon allow execute'))} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile2)})
                                (C {(/bin/chmod)} {(Lit_Other '+') (a)} 
                                  {(DQ ('group:daemon allow read'))} {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile3)})
                                (C {(chmod)} {(o) (Lit_Other '+') (r)} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile4)})
                                (C {(/bin/chmod)} {(-a)} {(DQ ('user:daemon allow execute'))} 
                                  {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile5)})
                                (C {(/bin/chmod)} {(-a)} {(DQ ('group:daemon allow read'))} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile7)})
                                (C {(/bin/chmod)} {(-N)} {(tmpfile0)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile8)})
                                (SimpleCommand
                                  words: [{(echo)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(tmpfile9)}
                                      spids: [4017]
                                    )
                                  ]
                                )
                                (C {(chmod)} {(a) (Lit_Other '+') (x)} {(tmpfile9)})
                                (Pipeline
                                  children: [
                                    (BraceGroup
                                      children: [
                                        (Sentence
                                          child: 
                                            (Pipeline
                                              children: [
                                                (C {(/bin/ls)} {(-le)} {(tmpfile9)})
                                                (C {(sed)} {(-n)} {(-e)} {(SQ <'s/^ [0-9][0-9]*: //p'>)})
                                              ]
                                              negated: F
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                        (Sentence
                                          child: (C {(echo)})
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      spids: [4031]
                                    )
                                    (C {(/bin/chmod)} {(-E)} {(tmpfile0)})
                                  ]
                                  negated: F
                                )
                                (C {(rm)} {(-f)} {(tmpfile9)})
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile9)})
                              ]
                              spids: [3866 3867 4082 16777215]
                            )
                            (case_arm
                              pat_list: [{(irix)}]
                              action: [
                                (C {(/sbin/chacl)} 
                                  {(user) (Lit_Other ':') (Lit_Other ':') (rw-) (Lit_Comma ',') (group) 
                                    (Lit_Other ':') (Lit_Other ':') (---) (Lit_Comma ',') (other) (Lit_Other ':') (Lit_Other ':') (---) (Lit_Comma ',') (user) 
                                    (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (--x)
                                  } {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile2)})
                                (C {(/sbin/chacl)} 
                                  {(user) (Lit_Other ':') (Lit_Other ':') (rw-) (Lit_Comma ',') (group) 
                                    (Lit_Other ':') (Lit_Other ':') (---) (Lit_Comma ',') (other) (Lit_Other ':') (Lit_Other ':') (---) (Lit_Comma ',') (user) 
                                    (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (--x) (Lit_Comma ',') (group) (Lit_Other ':') ($ VSub_Name '$agid') 
                                    (Lit_Other ':') (r--)
                                  } {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile3)})
                                (C {(/sbin/chacl)} 
                                  {(user) (Lit_Other ':') (Lit_Other ':') (rw-) (Lit_Comma ',') (group) 
                                    (Lit_Other ':') (Lit_Other ':') (---) (Lit_Comma ',') (user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (--x) 
                                    (Lit_Comma ',') (group) (Lit_Other ':') ($ VSub_Name '$agid') (Lit_Other ':') (r--) (Lit_Comma ',') (other) (Lit_Other ':') 
                                    (Lit_Other ':') (r--)
                                  } {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile4)})
                                (C {(/sbin/chacl)} 
                                  {(user) (Lit_Other ':') (Lit_Other ':') (rw-) (Lit_Comma ',') (group) 
                                    (Lit_Other ':') (Lit_Other ':') (---) (Lit_Comma ',') (group) (Lit_Other ':') ($ VSub_Name '$agid') (Lit_Other ':') (r--) 
                                    (Lit_Comma ',') (other) (Lit_Other ':') (Lit_Other ':') (r--)
                                  } {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile5)})
                                (C {(/sbin/chacl)} 
                                  {(user) (Lit_Other ':') (Lit_Other ':') (rw-) (Lit_Comma ',') (group) 
                                    (Lit_Other ':') (Lit_Other ':') (---) (Lit_Comma ',') (other) (Lit_Other ':') (Lit_Other ':') (r--)
                                  } {(tmpfile0)}
                                )
                                (C {(func_test_copy)} {(tmpfile0)} {(tmpfile7)})
                              ]
                              spids: [4086 4087 4292 16777215]
                            )
                          ]
                          spids: [1633 1637 4296]
                        )
                      ]
                      spids: [16777215 1519]
                    )
                  ]
                  spids: [16777215 4299]
                )
                (C {(rm)} {(-f)} {(tmpfile) (Lit_Other '[') (0-9) (Lit_Other ']')} 
                  {(tmpaclout) (Lit_Other '[') (0-2) (Lit_Other ']')}
                )
              ]
            )
          spids: [278 4317]
        )
        (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
      ]
    )
    (C {(rm)} {(-rf)} {(DQ ($ VSub_Name '$tmp'))})
    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
  ]
)