(CommandList
  children: [
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$BUILDSYS'))} {(KW_Bang '!') (Lit_Other '=')} 
                  {(DQ (yes))} {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(echo)} {(DQ ('* standalone *'))})
            (C {(cd)} {(..)})
            (C {(.)} {(./_00build.conf)})
            (C {(.)} {(./_00func)})
            (C {(.)} {(./DISTRO_SPECS)})
            (C {(source_compat_repos)})
            (C {(source_pkgs_specs)})
            (C {(set_binaries_var)})
            (C {(set_archdir_var)})
            (C {(cd)} {(sandbox3)})
          ]
          spids: [16777215 29]
        )
      ]
      spids: [16777215 75]
    )
    (C {(echo)})
    (C {(echo)} 
      {
        (DQ ('Now building sandbox3/0builtin_files_') (${ VSub_Name DISTRO_FILE_PREFIX) (-) 
          (${ VSub_Name DISTRO_VERSION) ('.pet,')
        )
      }
    )
    (C {(echo)} 
      {(DQ ('which is a PET package with lists of all packages and files builtin to the SFS...'))}
    )
    (SimpleCommand
      words: [
        {(rm)}
        {(-rf)}
        {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION)}
      ]
      redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[120])]
    )
    (C {(mkdir)} 
      {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION)}
    )
    (C {(mkdir)} {(-p)} 
      {(/tmp/0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION)}
    )
    (ForEach
      iter_name: ONEGENDIR
      iter_words: [
        {
          (CommandSubPart
            command_list: 
              (CommandList
                children: [
                  (Pipeline
                    children: [
                      (C {(find)} {(-H)} {(../packages-) (${ VSub_Name DISTRO_FILE_PREFIX)} {(-maxdepth)} 
                        {(1)} {(-type)} {(d)}
                      )
                      (C {(sort)})
                    ]
                    negated: F
                  )
                ]
              )
            left_token: <Left_CommandSub '$('>
            spids: [153 174]
          )
        }
      ]
      do_arg_iter: F
      body: 
        (DoGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:ONEGENNAME)
                  op: Equal
                  rhs: 
                    {
                      (BracedVarSub
                        token: <VSub_Name ONEGENDIR>
                        suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') (Lit_Slash /)})
                        spids: [180 185]
                      )
                    }
                  spids: [179]
                )
              ]
              spids: [179]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (Pipeline
                          children: [
                            (Subshell
                              child: 
                                (Pipeline
                                  children: [
                                    (C {(echo)} {(DQ ($ VSub_Name '$PKGS_SPECS_TABLE'))})
                                    (C {(grep)} {(-q)} {(DQ ('^yes|') (${ VSub_Name ONEGENNAME) ('|'))})
                                  ]
                                  negated: F
                                )
                              spids: [195 217]
                            )
                          ]
                          negated: T
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(ControlFlow token:<ControlFlow_Continue continue>)]
                  spids: [16777215 221]
                )
              ]
              spids: [16777215 227]
            )
            (C {(echo)} {(-n)} {(DQ ($ VSub_Name '$ONEGENNAME') (' '))})
            (Pipeline
              children: [
                (C {(find)} {(-H)} {($ VSub_Name '$ONEGENDIR')} {(-type)} {(f)} {(-o)} {(-type)} {(l)})
                (C {(sed)} {(-e)} 
                  {
                    (DQ ('s%^') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (.) 
                      (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (./packages-) (${ VSub_Name DISTRO_FILE_PREFIX) (/) (${ VSub_Name ONEGENNAME) ('/%/%')
                    )
                  }
                )
                (SimpleCommand
                  words: [{(sort)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 16777215
                      arg_word: 
                        {(/tmp/0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) 
                          (${ VSub_Name DISTRO_VERSION) (/) (${ VSub_Name ONEGENNAME) (.files)
                        }
                      spids: [286]
                    )
                  ]
                )
              ]
              negated: F
            )
            (C {(sync)})
            (C {(mkdir)} {(-p)} 
              {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION) 
                (/root/.packages/builtin_files)
              }
            )
            (Subshell
              child: 
                (While
                  cond: [(C {(read)} {(ONELINE)})]
                  body: 
                    (DoGroup
                      children: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:NEWPATH)
                              op: Equal
                              rhs: 
                                {
                                  (BracedVarSub
                                    token: <VSub_Name ONELINE>
                                    suffix_op: 
                                      (StringUnary
                                        op_id: VOp1_Percent
                                        arg_word: {(Lit_Slash /) ('*')}
                                      )
                                    spids: [335 340]
                                  )
                                }
                              spids: [334]
                            )
                          ]
                          spids: [334]
                        )
                        (AndOr
                          ops: [Op_DAmp]
                          children: [
                            (C {(Lit_Other '[')} {(DQ (${ VSub_Name NEWPATH))} {(Lit_Other '=')} {(DQ )} 
                              {(Lit_Other ']')}
                            )
                            (ControlFlow
                              token: <ControlFlow_Continue continue>
                            )
                          ]
                        )
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (C {(Lit_Other '[')} {(-e)} 
                                      {(DQ (rootfs-complete) (${ VSub_Name ONELINE))} {(Lit_Other ']')}
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (AndOr
                                  ops: [Op_DAmp]
                                  children: [
                                    (C {(Lit_Other '[')} {(-d)} 
                                      {(DQ (rootfs-complete) (${ VSub_Name ONELINE))} {(Lit_Other ']')}
                                    )
                                    (ControlFlow
                                      token: <ControlFlow_Continue continue>
                                    )
                                  ]
                                )
                                (C {(echo)} {(DQ (${ VSub_Name ONELINE))})
                              ]
                              spids: [16777215 384]
                            )
                          ]
                          spids: [16777215 420]
                        )
                      ]
                      spids: [331 423]
                    )
                  redirects: [
                    (Redir
                      op_id: Redir_Less
                      fd: 16777215
                      arg_word: 
                        {(/tmp/0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) 
                          (${ VSub_Name DISTRO_VERSION) (/) (${ VSub_Name ONEGENNAME) (.files)
                        }
                      spids: [425]
                    )
                  ]
                )
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: 16777215
                  arg_word: 
                    {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) 
                      (${ VSub_Name DISTRO_VERSION) (/root/.packages/builtin_files/) (${ VSub_Name ONEGENNAME)
                    }
                  spids: [444]
                )
              ]
              spids: [321 442]
            )
          ]
          spids: [176 459]
        )
      spids: [152 16777215]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (C {(Lit_Other '[')} {(-f)} {(/tmp/rootfs-packages.specs)} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (While
              cond: [(C {(read)} {(line)})]
              body: 
                (DoGroup
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:PKGL)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (Pipeline
                                        children: [
                                          (C {(echo)} {($ VSub_Name '$line')})
                                          (C {(cut)} {(-d)} {(SQ <'|'>)} {(-f)} {(2)})
                                        ]
                                        negated: F
                                      )
                                    ]
                                  )
                                left_token: <Left_Backtick '`'>
                                spids: [489 507]
                              )
                            }
                          spids: [488]
                        )
                      ]
                      spids: [488]
                    )
                    (C {(echo)} {(-n)} {(DQ (${ VSub_Name PKGL) (' '))})
                    (Pipeline
                      children: [
                        (C {(find)} {(-H)} {(../rootfs-packages/) ($ VSub_Name '$PKGL')} {(-type)} {(f)} 
                          {(-o)} {(-type)} {(l)}
                        )
                        (C {(sed)} {(-e)} 
                          {
                            (DQ ('s%^') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (.) 
                              (EscapedLiteralPart
                                token: <Lit_EscapedChar '\\\\'>
                              ) (./rootfs-packages/) (${ VSub_Name PKGL) ('/%/%')
                            )
                          }
                        )
                        (SimpleCommand
                          words: [{(sort)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 16777215
                              arg_word: 
                                {(/tmp/0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) 
                                  (${ VSub_Name DISTRO_VERSION) (/) (${ VSub_Name PKGL) (.files)
                                }
                              spids: [565]
                            )
                          ]
                        )
                      ]
                      negated: F
                    )
                    (C {(sync)})
                    (C {(mkdir)} {(-p)} 
                      {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) 
                        (${ VSub_Name DISTRO_VERSION) (/root/.packages/builtin_files)
                      }
                    )
                    (While
                      cond: [(C {(read)} {(ONELINE)})]
                      body: 
                        (DoGroup
                          children: [
                            (Case
                              to_match: {(DQ ($ VSub_Name '$ONELINE'))}
                              arms: [
                                (case_arm
                                  pat_list: [{(.) (Lit_Other '*')}]
                                  action: [(ControlFlow token:<ControlFlow_Continue continue>)]
                                  spids: [618 620 624 16777215]
                                )
                              ]
                              spids: [610 616 626]
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:NEWPATH)
                                  op: Equal
                                  rhs: 
                                    {
                                      (BracedVarSub
                                        token: <VSub_Name ONELINE>
                                        suffix_op: 
                                          (StringUnary
                                            op_id: VOp1_Percent
                                            arg_word: {(Lit_Slash /) ('*')}
                                          )
                                        spids: [633 638]
                                      )
                                    }
                                  spids: [632]
                                )
                              ]
                              spids: [632]
                            )
                            (AndOr
                              ops: [Op_DAmp]
                              children: [
                                (C {(Lit_Other '[')} {(DQ (${ VSub_Name NEWPATH))} {(Lit_Other '=')} {(DQ )} 
                                  {(Lit_Other ']')}
                                )
                                (ControlFlow
                                  token: <ControlFlow_Continue continue>
                                )
                              ]
                            )
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other '[')} {(-e)} 
                                          {(DQ (rootfs-complete) (${ VSub_Name ONELINE))} {(Lit_Other ']')}
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (AndOr
                                      ops: [Op_DAmp]
                                      children: [
                                        (C {(Lit_Other '[')} {(-d)} 
                                          {(DQ (rootfs-complete) (${ VSub_Name ONELINE))} {(Lit_Other ']')}
                                        )
                                        (ControlFlow
                                          token: <ControlFlow_Continue continue>
                                        )
                                      ]
                                    )
                                    (SimpleCommand
                                      words: [{(echo)} {(DQ (${ VSub_Name ONELINE))}]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_DGreat
                                          fd: 16777215
                                          arg_word: 
                                            {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) 
                                              (${ VSub_Name DISTRO_VERSION) (/root/.packages/builtin_files/) (${ VSub_Name PKGL)
                                            }
                                          spids: [714]
                                        )
                                      ]
                                    )
                                  ]
                                  spids: [16777215 682]
                                )
                              ]
                              spids: [16777215 730]
                            )
                          ]
                          spids: [607 733]
                        )
                      redirects: [
                        (Redir
                          op_id: Redir_Less
                          fd: 16777215
                          arg_word: 
                            {(/tmp/0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) 
                              (${ VSub_Name DISTRO_VERSION) (/) (${ VSub_Name PKGL) (.files)
                            }
                          spids: [735]
                        )
                      ]
                    )
                  ]
                  spids: [485 752]
                )
              redirects: [
                (Redir
                  op_id: Redir_Less
                  fd: 16777215
                  arg_word: {(/tmp/rootfs-packages.specs)}
                  spids: [754]
                )
              ]
            )
            (C {(rm)} {(-f)} {(/tmp/rootfs-packages.specs)})
          ]
          spids: [16777215 475]
        )
      ]
      spids: [16777215 765]
    )
    (C {(echo)})
    (SimpleCommand
      words: [
        {(echo)}
        {
          (DQ (0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION) 
            ('|0builtin_files_') (${ VSub_Name DISTRO_FILE_PREFIX) ('|') (${ VSub_Name DISTRO_VERSION) 
            ('||BuildingBlock|||0builtin_files_') (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION) 
            ('.pet||Lists of files built-in to the SFS file||||\n')
          )
        }
      ]
      redirects: [
        (Redir
          op_id: Redir_Great
          fd: 16777215
          arg_word: 
            {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION) 
              (/pet.specs)
            }
          spids: [799]
        )
      ]
    )
    (SimpleCommand
      words: [
        {(rm)}
        {(-f)}
        {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION) (.pet)}
      ]
      redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[825])]
    )
    (C {(dir2tgz)} 
      {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION)}
    )
    (C {(tgz2pet)} 
      {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION) (.tar.gz)}
    )
    (C {(rm)} {(-rf)} 
      {(/tmp/0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION)}
    )
    (C {(echo)})
    (C {(echo)} {(DQ ('installing pkg lists into rootfs-complete/root/.packages/builtin_files...'))})
    (C {(cp)} {(-a)} {(-f)} 
      {(0builtin_files_) (${ VSub_Name DISTRO_FILE_PREFIX) (-) (${ VSub_Name DISTRO_VERSION) 
        (/root/.packages/builtin_files)
      } {(rootfs-complete/root/.packages)}
    )
    (C {(echo)} {(SQ <...done>)})
  ]
)