(command.CommandList
  children: [
    (C {(set)} {(-o)} {(nounset)})
    (C {(set)} {(-o)} {(pipefail)})
    (C {(set)} {(-o)} {(errexit)})
    (command.Assignment
      keyword: Assign_Readonly
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:OIL_VERSION spids:[109])
          op: Equal
          rhs: 
            {
              (word_part.CommandSubPart
                command_list: 
                  (command.CommandList
                    children: [(C {(head)} {(-n)} {(1)} {(oil-version.txt)})]
                  )
                left_token: <Left_CommandSub '$('>
                spids: [110 118]
              )
            }
          spids: [109]
        )
      ]
      spids: [107]
    )
    (command.Assignment
      keyword: Assign_Readonly
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:OSH_RELEASE_BINARY spids:[126])
          op: Equal
          rhs: {(_tmp/oil-tar-test/oil-) ($ VSub_DollarName '$OIL_VERSION') (/_bin/osh)}
          spids: [126]
        )
      ]
      spids: [124]
    )
    (command.FuncDef
      name: log
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(echo)} {(DQ ($ VSub_At '$@'))}]
              redirects: [(redir.Redir op:<Redir_GreatAnd '1>&'> fd:1 arg_word:{(2)})]
            )
          ]
          spids: [136]
        )
      spids: [132 135]
    )
    (command.FuncDef
      name: _clean-tmp-dirs
      body: 
        (command.BraceGroup
          children: [
            (C {(rm)} {(-r)} {(-f)} 
              (word.BracedWordTree
                parts: [
                  (_tmp/)
                  (word_part.BracedAltPart
                    words: [{(spec)} {(wild)} {(unit)} {(gold)} {(osh2oil)}]
                  )
                ]
              ) 
              (word.BracedWordTree
                parts: [
                  (_tmp/)
                  (word_part.BracedAltPart
                    words: [{(osh-parser)} {(osh-runtime)} {(vm-baseline)} {(ovm-build)} {(oheap)}]
                  )
                ]
              ) {(_tmp/metrics)} {(_tmp/oil-tar-test)}
            )
          ]
          spids: [292]
        )
      spids: [288 291]
    )
    (command.FuncDef
      name: _clean
      body: 
        (command.BraceGroup
          children: [
            (C {(_clean-tmp-dirs)})
            (C {(rm)} {(-r)} {(-f)} {(_devbuild)})
            (C {(build/actions.sh)} {(clean-repo)})
          ]
          spids: [346]
        )
      spids: [342 345]
    )
    (command.FuncDef
      name: _dev-build
      body: (command.BraceGroup children:[(C {(build/dev.sh)} {(all)})] spids:[378])
      spids: [374 377]
    )
    (command.FuncDef
      name: _release-build
      body: 
        (command.BraceGroup
          children: [
            (C {(build/prepare.sh)} {(configure)})
            (C {(build/prepare.sh)} {(build-python)})
            (C {($ VSub_Number '$0')} {(oil)})
            (C {(build/test.sh)} {(oil-tar)})
            (C {(ln)} {(-s)} {(-f)} {(--no-target-directory)} {(-v)} {(oil.ovm)} 
              {($ VSub_DollarName '$OSH_RELEASE_BINARY')}
            )
          ]
          spids: [395]
        )
      spids: [391 394]
    )
    (command.FuncDef
      name: _test-release-build
      body: 
        (command.BraceGroup
          children: [
            (C {(test/alpine.sh)} {(copy-tar)} {(SQ )} {(oil)})
            (C {(test/alpine.sh)} {(test-tar)} {(SQ )} {(oil)})
            (C {(test/spec.sh)} {(link-busybox-ash)})
            (C {(test/spec.sh)} {(smoke)})
            (C {(test/osh2oil.sh)} {(run-for-release)})
            (C {(test/gold.sh)} {(run-for-release)})
            (command.SimpleCommand
              words: [{(test/spec.sh)} {(all)}]
              more_env: [
                (env_pair
                  name: OSH_OVM
                  val: {($ VSub_DollarName '$OSH_RELEASE_BINARY')}
                  spids: [554]
                )
              ]
            )
          ]
          spids: [484]
        )
      spids: [480 483]
    )
    (command.FuncDef
      name: build-and-test
      body: 
        (command.BraceGroup
          children: [
            (C {(_clean)})
            (C {(_dev-build)})
            (C {(test/unit.sh)} {(run-for-release)})
            (C {(_release-build)})
            (C {(_test-release-build)})
          ]
          spids: [571]
        )
      spids: [567 570]
    )
    (command.FuncDef
      name: _install
      body: 
        (command.BraceGroup
          children: [
            (C {(test/spec.sh)} {(install-shells)})
            (C {(sudo)} {(apt)} {(install)} {(python-dev)})
          ]
          spids: [607]
        )
      spids: [603 606]
    )
    (command.FuncDef
      name: benchmark-build
      body: 
        (command.BraceGroup
          children: [(C {(_install)}) (C {(_clean)}) (C {(_dev-build)}) (C {(_release-build)})]
          spids: [638]
        )
      spids: [634 637]
    )
    (command.FuncDef
      name: benchmark-run
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(benchmarks/auto.sh)} {(all)}]
              more_env: [
                (env_pair
                  name: OSH_OVM
                  val: {($ VSub_DollarName '$OSH_RELEASE_BINARY')}
                  spids: [666]
                )
              ]
            )
          ]
          spids: [663]
        )
      spids: [659 662]
    )
    (command.FuncDef
      name: benchmark-run-on-1-machine
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(benchmarks/oheap.sh)} {(measure)}]
              more_env: [
                (env_pair
                  name: OSH_OVM
                  val: {($ VSub_DollarName '$OSH_RELEASE_BINARY')}
                  spids: [683]
                )
              ]
            )
          ]
          spids: [680]
        )
      spids: [676 679]
    )
    (command.FuncDef
      name: _compressed-tarball
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:name spids:[702])
                  op: Equal
                  rhs: 
                    {
                      (word_part.BracedVarSub
                        token: <VSub_Number 1>
                        suffix_op: (suffix_op.StringUnary op_id:VTest_ColonHyphen arg_word:{(hello)})
                        spids: [703 707]
                      )
                    }
                  spids: [702]
                )
              ]
              spids: [700]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:version spids:[712])
                  op: Equal
                  rhs: 
                    {
                      (word_part.BracedVarSub
                        token: <VSub_Number 2>
                        suffix_op: (suffix_op.StringUnary op_id:VTest_ColonHyphen arg_word:{(0.0.0)})
                        spids: [713 717]
                      )
                    }
                  spids: [712]
                )
              ]
              spids: [710]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:in spids:[723])
                  op: Equal
                  rhs: {(_release/) ($ VSub_DollarName '$name') (.tar)}
                  spids: [723]
                )
              ]
              spids: [721]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out spids:[731])
                  op: Equal
                  rhs: 
                    {(_release/) ($ VSub_DollarName '$name') (-) ($ VSub_DollarName '$version') 
                      (.tar.gz)
                    }
                  spids: [731]
                )
              ]
              spids: [729]
            )
            (C {(build/actions.sh)} {(write-release-date)})
            (C {(make)} {($ VSub_DollarName '$in')})
            (command.TimeBlock
              pipeline: 
                (command.SimpleCommand
                  words: [{(gzip)} {(-c)} {($ VSub_DollarName '$in')}]
                  redirects: [
                    (redir.Redir
                      op: <Redir_Great '>'>
                      fd: 16777215
                      arg_word: {($ VSub_DollarName '$out')}
                    )
                  ]
                )
            )
            (C {(ls)} {(-l)} {($ VSub_DollarName '$out')})
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out2 spids:[790])
                  op: Equal
                  rhs: 
                    {(_release/) ($ VSub_DollarName '$name') (-) ($ VSub_DollarName '$version') 
                      (.tar.xz)
                    }
                  spids: [790]
                )
              ]
              spids: [788]
            )
            (command.TimeBlock
              pipeline: 
                (command.SimpleCommand
                  words: [{(xz)} {(-c)} {($ VSub_DollarName '$in')}]
                  redirects: [
                    (redir.Redir
                      op: <Redir_Great '>'>
                      fd: 16777215
                      arg_word: {($ VSub_DollarName '$out2')}
                    )
                  ]
                )
            )
            (C {(ls)} {(-l)} {($ VSub_DollarName '$out2')})
          ]
          spids: [697]
        )
      spids: [693 696]
    )
    (command.FuncDef
      name: oil
      body: 
        (command.BraceGroup
          children: [(C {(_compressed-tarball)} {(oil)} {($ VSub_DollarName '$OIL_VERSION')})]
          spids: [824]
        )
      spids: [820 823]
    )
    (command.FuncDef
      name: hello
      body: 
        (command.BraceGroup
          children: [
            (C {(_compressed-tarball)} {(hello)} 
              {
                (word_part.CommandSubPart
                  command_list: 
                    (command.CommandList
                      children: [(C {(head)} {(-n)} {(1)} {(build/testdata/hello-version.txt)})]
                    )
                  left_token: <Left_CommandSub '$('>
                  spids: [847 855]
                )
              }
            )
          ]
          spids: [840]
        )
      spids: [836 839]
    )
    (command.FuncDef
      name: escape-segments
      body: 
        (command.BraceGroup
          children: [
            (C {(python)} {(-c)} 
              {
                (SQ <'\n'> <'import cgi, re, sys\n'> <'\n'> <'print re.sub(\n'> 
                  <'  r"\\x00(.*)\\x01", \n'> <'  lambda match: cgi.escape(match.group(1)),\n'> <'  sys.stdin.read())\n'>
                )
              }
            )
          ]
          spids: [879]
        )
      spids: [875 878]
    )
    (command.FuncDef
      name: _git-changelog-body
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:prev_branch spids:[912])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [912]
                )
              ]
              spids: [910]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cur_branch spids:[918])
                  op: Equal
                  rhs: {($ VSub_Number '$2')}
                  spids: [918]
                )
              ]
              spids: [916]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:format spids:[942])
                  op: Equal
                  rhs: 
                    {
                      (SQ <'<tr>\n'> <'    <td><a class="checksum"\n'> 
                        <'           href="https://github.com/oilshell/oil/commit/%H">%h</a>\n'> <'    </td>\n'> <'    <td class="date">%ad</td>\n'> <'    <td>%x00%an%x01</td>\n'> 
                        <'    <td class="subject">%x00%s%x01</td>\n'> <'  </tr>'>
                      )
                    }
                  spids: [942]
                )
              ]
              spids: [940]
            )
            (command.Pipeline
              children: [
                (C {(git)} {(log)} 
                  {($ VSub_DollarName '$prev_branch') (..) ($ VSub_DollarName '$cur_branch')} {(--reverse)} {(--pretty) (Lit_Other '=') (DQ ('format:') ($ VSub_DollarName '$format'))} 
                  {(--date) (Lit_Other '=') (short)}
                )
                (C {(escape-segments)})
              ]
              negated: F
            )
          ]
          spids: [907]
        )
      spids: [903 906]
    )
    (command.FuncDef
      name: _git-changelog-header
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:prev_branch spids:[1002])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [1002]
                )
              ]
              spids: [1000]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cur_branch spids:[1008])
                  op: Equal
                  rhs: {($ VSub_Number '$2')}
                  spids: [1008]
                )
              ]
              spids: [1006]
            )
            (command.SimpleCommand
              words: [{(cat)}]
              redirects: [
                (redir.HereDoc
                  op: <Redir_DLess '<<'>
                  fd: 16777215
                  here_begin: {(EOF)}
                  here_end_span_id: 1065
                  stdin_parts: [
                    ('<!DOCTYPE html>\n')
                    ('<html>\n')
                    ('  <head>\n')
                    ('    <title>Commits Between ')
                    ($ VSub_DollarName '$prev_branch')
                    (' and ')
                    ($ VSub_DollarName '$cur_branch')
                    ('</title>\n')
                    ('    <style>\n')
                    ('      /* Make it centered and skinny for readability */\n')
                    ('      body {\n')
                    ('        margin: 0 auto;\n')
                    ('        width: 60em;\n')
                    ('      }\n')
                    ('      table {\n')
                    ('        width: 100%;\n')
                    ('      }\n')
                    ('      code {\n')
                    ('        color: green;\n')
                    ('      }\n')
                    ('      .checksum {\n')
                    ('        font-family: monospace;\n')
                    ('      }\n')
                    ('      .date {\n')
                    ('        /*font-family: monospace;*/\n')
                    ('      }\n')
                    ('      .subject {\n')
                    ('        font-family: monospace;\n')
                    ('      }\n')
                    ('\n')
                    ('      /* Copied from oilshell.org bundle.css */\n')
                    ('      .date {\n')
                    ('        font-size: medium;\n')
                    ('        color: #555;\n')
                    ('        padding-left: 1em;\n')
                    ('      }\n')
                    ('    </style>\n')
                    ('  </head>\n')
                    ('  <body>\n')
                    ('    <h3>Commits Between Branches <code>')
                    ($ VSub_DollarName '$prev_branch')
                    ('</code> and\n')
                    ('       <code>')
                    ($ VSub_DollarName '$cur_branch')
                    ('</code></h3>\n')
                    ('    <table>\n')
                  ]
                )
              ]
            )
          ]
          spids: [997]
        )
      spids: [993 996]
    )
    (command.FuncDef
      name: _git-changelog
      body: 
        (command.BraceGroup
          children: [
            (C {(_git-changelog-header)} {(DQ ($ VSub_At '$@'))})
            (C {(_git-changelog-body)} {(DQ ($ VSub_At '$@'))})
            (command.SimpleCommand
              words: [{(cat)}]
              redirects: [
                (redir.HereDoc
                  op: <Redir_DLess '<<'>
                  fd: 16777215
                  here_begin: {(EOF)}
                  here_end_span_id: 1121
                  stdin_parts: [('  </table>\n')]
                )
              ]
            )
            (C {(_html-footer)})
          ]
          spids: [1097]
        )
      spids: [1093 1096]
    )
    (command.FuncDef
      name: git-changelog-0.1
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:version spids:[1137])
                  op: Equal
                  rhs: {(SQ <0.1.0>)}
                  spids: [1137]
                )
              ]
              spids: [1135]
            )
            (command.SimpleCommand
              words: [{(_git-changelog)} {(release/0.0.0)} {(release/0.1.0)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: 
                    {(../oilshell.org__deploy/release/) ($ VSub_DollarName '$version') 
                      (/changelog.html)
                    }
                )
              ]
            )
          ]
          spids: [1132]
        )
      spids: [1128 1131]
    )
    (command.FuncDef
      name: git-changelog-0.2.alpha1
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(_git-changelog)} {(release/0.1.0)} {(release/0.2.alpha1)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/changelog.html)}
                )
              ]
            )
          ]
          spids: [1164]
        )
      spids: [1160 1163]
    )
    (command.FuncDef
      name: git-changelog-0.2.0
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(_git-changelog)} {(release/0.1.0)} {(release/0.2.0)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/changelog.html)}
                )
              ]
            )
          ]
          spids: [1186]
        )
      spids: [1182 1185]
    )
    (command.FuncDef
      name: git-changelog-0.3.alpha1
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(_git-changelog)} {(release/0.2.0)} {(release/0.3.alpha1)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/changelog.html)}
                )
              ]
            )
          ]
          spids: [1208]
        )
      spids: [1204 1207]
    )
    (command.FuncDef
      name: git-changelog-0.3.0
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(_git-changelog)} {(release/0.2.0)} {(release/0.3.0)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/changelog.html)}
                )
              ]
            )
          ]
          spids: [1230]
        )
      spids: [1226 1229]
    )
    (command.FuncDef
      name: git-changelog-0.4.0
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(_git-changelog)} {(release/0.3.0)} {(release/0.4.0)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/changelog.html)}
                )
              ]
            )
          ]
          spids: [1252]
        )
      spids: [1248 1251]
    )
    (command.FuncDef
      name: git-changelog-0.5.alpha1
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(_git-changelog)} {(release/0.4.0)} {(release/0.5.alpha1)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/changelog.html)}
                )
              ]
            )
          ]
          spids: [1274]
        )
      spids: [1270 1273]
    )
    (command.FuncDef
      name: git-changelog-0.5.alpha2
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(_git-changelog)} {(release/0.5.alpha1)} {(release/0.5.alpha2)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/changelog.html)}
                )
              ]
            )
          ]
          spids: [1299]
        )
      spids: [1295 1298]
    )
    (command.FuncDef
      name: git-changelog-0.5.alpha3
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(_git-changelog)} {(release/0.5.alpha2)} {(release/0.5.alpha3)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/changelog.html)}
                )
              ]
            )
          ]
          spids: [1321]
        )
      spids: [1317 1320]
    )
    (command.FuncDef
      name: html-redirect
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:url spids:[1352])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [1352]
                )
              ]
              spids: [1350]
            )
            (command.SimpleCommand
              words: [{(cat)}]
              redirects: [
                (redir.HereDoc
                  op: <Redir_DLess '<<'>
                  fd: 16777215
                  here_begin: {(EOF)}
                  here_end_span_id: 1386
                  stdin_parts: [
                    ('<!DOCTYPE html>\n')
                    ('<html>\n')
                    ('  <head>\n')
                    ('    <meta http-equiv=')
                    (Right_DoubleQuote '"')
                    (refresh)
                    (Right_DoubleQuote '"')
                    (' content=')
                    (Right_DoubleQuote '"')
                    ('0; url=')
                    ($ VSub_DollarName '$url')
                    (Right_DoubleQuote '"')
                    (' />\n')
                    ('  </head>\n')
                    ('  <body>\n')
                    ('    <p>Redirect to<a href=')
                    (Right_DoubleQuote '"')
                    ($ VSub_DollarName '$url')
                    (Right_DoubleQuote '"')
                    ('>')
                    ($ VSub_DollarName '$url')
                    ('</a></p>\n')
                    ('  </body>\n')
                    ('</html>  \n')
                  ]
                )
              ]
            )
          ]
          spids: [1347]
        )
      spids: [1343 1346]
    )
    (command.FuncDef
      name: no-announcement
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(cat)}]
              redirects: [
                (redir.HereDoc
                  op: <Redir_DLess '<<'>
                  fd: 16777215
                  here_begin: {(EOF)}
                  here_end_span_id: 1411
                  stdin_parts: [
                    ('<!DOCTYPE html>\n')
                    ('<html>\n')
                    ('  <head>\n')
                    ('  </head>\n')
                    ('  <body>\n')
                    ('    <p>No announcement for this release.</p>\n')
                    ('  </body>\n')
                    ('</html>  \n')
                  ]
                )
              ]
            )
          ]
          spids: [1394]
        )
      spids: [1390 1393]
    )
    (command.FuncDef
      name: write-no-announcement
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(no-announcement)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/announcement.html)}
                )
              ]
            )
          ]
          spids: [1419]
        )
      spids: [1415 1418]
    )
    (command.FuncDef
      name: announcement-0.0
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(html-redirect)} {(SQ </blog/2017/07/23.html>)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(../oilshell.org__deploy/release/0.0.0/announcement.html)}
                )
              ]
            )
          ]
          spids: [1435]
        )
      spids: [1431 1434]
    )
    (command.FuncDef
      name: announcement-0.1
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:version spids:[1462])
                  op: Equal
                  rhs: {(SQ <0.1.0>)}
                  spids: [1462]
                )
              ]
              spids: [1460]
            )
            (command.SimpleCommand
              words: [{(html-redirect)} {(SQ </blog/2017/09/09.html>)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: 
                    {(../oilshell.org__deploy/release/) ($ VSub_DollarName '$version') 
                      (/announcement.html)
                    }
                )
              ]
            )
          ]
          spids: [1457]
        )
      spids: [1453 1456]
    )
    (command.FuncDef
      name: announcement-0.2
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(html-redirect)} {(SQ </blog/2017/11/10.html>)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/announcement.html)}
                )
              ]
            )
          ]
          spids: [1489]
        )
      spids: [1485 1488]
    )
    (command.FuncDef
      name: announcement-0.3
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(html-redirect)} {(SQ </blog/2017/12/22.html>)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/announcement.html)}
                )
              ]
            )
          ]
          spids: [1509]
        )
      spids: [1505 1508]
    )
    (command.FuncDef
      name: announcement-0.4
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(html-redirect)} {(SQ </blog/2018/02/03.html>)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/announcement.html)}
                )
              ]
            )
          ]
          spids: [1533]
        )
      spids: [1529 1532]
    )
    (command.FuncDef
      name: announcement-0.5.alpha3
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(html-redirect)} {(SQ </blog/2018/04/30.html>)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_release/VERSION/announcement.html)}
                )
              ]
            )
          ]
          spids: [1553]
        )
      spids: [1549 1552]
    )
    (command.FuncDef
      name: _link
      body: 
        (command.BraceGroup
          children: [(C {(ln)} {(-s)} {(-f)} {(-v)} {(--no-target-directory)} {(DQ ($ VSub_At '$@'))})]
          spids: [1573]
        )
      spids: [1569 1572]
    )
    (command.FuncDef
      name: compress-txt
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:name spids:[1602])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [1602]
                )
              ]
              spids: [1600]
            )
            (C {(log)} {(DQ ('--- test/') ($ VSub_DollarName '$name'))})
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out spids:[1617])
                  op: Equal
                  rhs: {(DQ ($ VSub_DollarName '$root') (/test/) ($ VSub_DollarName '$name') (.wwz))}
                  spids: [1617]
                )
              ]
              spids: [1615]
            )
            (C {(pushd)} {(_tmp/) ($ VSub_DollarName '$name')})
            (command.TimeBlock
              pipeline: (C {(zip)} {(-r)} {(-q)} {($ VSub_DollarName '$out')} {(.)})
            )
            (C {(popd)})
          ]
          spids: [1597]
        )
      spids: [1593 1596]
    )
    (command.FuncDef
      name: compress
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:root spids:[1662])
                  op: Equal
                  rhs: {($ VSub_DollarName '$PWD') (/_release/VERSION/)}
                  spids: [1662]
                )
              ]
              spids: [1660]
            )
            (C {(compress-txt)} {(osh2oil)})
            (C {(compress-txt)} {(gold)})
            (C {(log)} {(DQ ('--- test/unit'))})
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out spids:[1692])
                  op: Equal
                  rhs: {(DQ ($ VSub_DollarName '$root') (/test/unit.wwz))}
                  spids: [1692]
                )
              ]
              spids: [1690]
            )
            (C {(pushd)} {(_tmp/unit)})
            (command.TimeBlock
              pipeline: (C {(zip)} {(-r)} {(-q)} {($ VSub_DollarName '$out')} {(.)})
            )
            (C {(popd)})
            (C {(log)} {(DQ ('--- test/spec'))})
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out spids:[1733])
                  op: Equal
                  rhs: {(DQ ($ VSub_DollarName '$root') (/test/spec.wwz))}
                  spids: [1733]
                )
              ]
              spids: [1731]
            )
            (C {(pushd)} {(_tmp/spec)})
            (command.TimeBlock
              pipeline: (C {(zip)} {(-r)} {(-q)} {($ VSub_DollarName '$out')} {(.)})
            )
            (C {(popd)})
            (C {(log)} {(DQ ('--- test/wild'))})
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out spids:[1774])
                  op: Equal
                  rhs: {(DQ ($ VSub_DollarName '$root') (/test/wild.wwz))}
                  spids: [1774]
                )
              ]
              spids: [1772]
            )
            (C {(pushd)} {(_tmp/wild/www)})
            (command.TimeBlock
              pipeline: (C {(zip)} {(-r)} {(-q)} {($ VSub_DollarName '$out')} {(.)})
            )
            (C {(popd)})
            (C {(log)} {(DQ ('--- metrics'))})
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out spids:[1816])
                  op: Equal
                  rhs: {(DQ ($ VSub_DollarName '$root') (/metrics.wwz))}
                  spids: [1816]
                )
              ]
              spids: [1814]
            )
            (C {(pushd)} {(_tmp/metrics)})
            (command.TimeBlock
              pipeline: (C {(zip)} {(-r)} {(-q)} {($ VSub_DollarName '$out')} {(.)})
            )
            (C {(popd)})
            (C {(compress-benchmarks)})
            (C {(tree)} {(_release/VERSION)})
          ]
          spids: [1657]
        )
      spids: [1653 1656]
    )
    (command.FuncDef
      name: compress-benchmarks
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:root spids:[1868])
                  op: Equal
                  rhs: {($ VSub_DollarName '$PWD') (/_release/VERSION/)}
                  spids: [1868]
                )
              ]
              spids: [1866]
            )
            (C {(mkdir)} {(-p)} {($ VSub_DollarName '$root')})
            (C {(log)} {(DQ ('--- benchmarks'))})
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out spids:[1891])
                  op: Equal
                  rhs: {(DQ ($ VSub_DollarName '$root') (/benchmarks.wwz))}
                  spids: [1891]
                )
              ]
              spids: [1889]
            )
            (C {(pushd)} {(_tmp)})
            (command.Pipeline
              children: [
                (C {(find)} 
                  (word.BracedWordTree
                    parts: [
                      (osh-parser/)
                      (word_part.BracedAltPart
                        words: [{(stage1)} {(stage2)} {(index.html)}]
                      )
                    ]
                  ) 
                  (word.BracedWordTree
                    parts: [
                      (osh-runtime/)
                      (word_part.BracedAltPart
                        words: [{(stage1)} {(stage2)} {(index.html)}]
                      )
                    ]
                  ) 
                  (word.BracedWordTree
                    parts: [
                      (vm-baseline/)
                      (word_part.BracedAltPart
                        words: [{(stage1)} {(stage2)} {(index.html)}]
                      )
                    ]
                  ) 
                  (word.BracedWordTree
                    parts: [
                      (ovm-build/)
                      (word_part.BracedAltPart
                        words: [{(stage1)} {(stage2)} {(index.html)}]
                      )
                    ]
                  ) 
                  (word.BracedWordTree
                    parts: [
                      (oheap/)
                      (word_part.BracedAltPart
                        words: [{(stage1)} {(stage2)} {(index.html)}]
                      )
                    ]
                  ) {(-type)} {(f)}
                )
                (C {(xargs)} {(--verbose)} {(--)} {(zip)} {(-q)} {($ VSub_DollarName '$out')})
              ]
              negated: F
            )
            (C {(popd)})
          ]
          spids: [1863]
        )
      spids: [1859 1862]
    )
    (command.FuncDef
      name: line-counts
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out spids:[2008])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [2008]
                )
              ]
              spids: [2006]
            )
            (C {(mkdir)} {(-p)} {($ VSub_DollarName '$out')})
            (command.SimpleCommand
              words: [{(build/metrics.sh)} {(linecount-pydeps)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$out') (/pydeps.txt)}
                )
              ]
            )
            (command.SimpleCommand
              words: [{(build/metrics.sh)} {(linecount-nativedeps)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$out') (/nativedeps.txt)}
                )
              ]
            )
            (command.SimpleCommand
              words: [{(scripts/count.sh)} {(all)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$out') (/src.txt)}
                )
              ]
            )
            (command.SimpleCommand
              words: [{(scripts/count.sh)} {(parser)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$out') (/parser.txt)}
                )
              ]
            )
            (command.SimpleCommand
              words: [{(scripts/count.sh)} {(runtime)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$out') (/runtime.txt)}
                )
              ]
            )
            (command.SimpleCommand
              words: [{(scripts/count.sh)} {(oil-osh-cloc)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$out') (/oil-osh-cloc.txt)}
                )
              ]
            )
          ]
          spids: [2003]
        )
      spids: [1999 2002]
    )
    (command.FuncDef
      name: metrics
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out spids:[2109])
                  op: Equal
                  rhs: {(_tmp/metrics)}
                  spids: [2109]
                )
              ]
              spids: [2107]
            )
            (C {(mkdir)} {(-p)} {($ VSub_DollarName '$out')})
            (command.SimpleCommand
              words: [{(build/metrics.sh)} {(pyc-bytes)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$out') (/pyc-bytes.txt)}
                )
              ]
            )
            (C {(line-counts)} {($ VSub_DollarName '$out') (/line-counts)})
            (C {(tree)} {($ VSub_DollarName '$out')})
          ]
          spids: [2104]
        )
      spids: [2100 2103]
    )
    (command.FuncDef
      name: _copy-path
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:src spids:[2155])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [2155]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:dest spids:[2158])
                  op: Equal
                  rhs: {($ VSub_Number '$2')}
                  spids: [2158]
                )
              ]
              spids: [2153]
            )
            (C {(mkdir)} {(-p)} 
              {
                (word_part.CommandSubPart
                  command_list: 
                    (command.CommandList
                      children: [(C {(dirname)} {($ VSub_DollarName '$dest')})]
                    )
                  left_token: <Left_CommandSub '$('>
                  spids: [2166 2170]
                )
              }
            )
            (C {(cp)} {(-v)} {($ VSub_DollarName '$src')} {($ VSub_DollarName '$dest')})
          ]
          spids: [2150]
        )
      spids: [2146 2149]
    )
    (command.FuncDef
      name: copy-web
      body: 
        (command.BraceGroup
          children: [
            (command.Pipeline
              children: [
                (C {(find)} {(web)} {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\('>)} 
                  {(-name)} {(_tmp)} {(-a)} {(-prune)} {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\)'>)} {(-o)} 
                  {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\('>)} {(-name)} {(SQ <'*.css'>)} {(-o)} {(-name)} {(SQ <'*.js'>)} 
                  {(word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\)'>)} {(-a)} {(-printf)} {(SQ <'%p _release/VERSION/%p\\n'>)}
                )
                (C {(xargs)} {(-n)} {(2)} {(--)} {($ VSub_Number '$0')} {(_copy-path)})
              ]
              negated: F
            )
          ]
          spids: [2188]
        )
      spids: [2184 2187]
    )
    (command.FuncDef
      name: build-tree
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:root spids:[2285])
                  op: Equal
                  rhs: {(_release/VERSION)}
                  spids: [2285]
                )
              ]
              spids: [2283]
            )
            (C {(mkdir)} {(-p)} 
              (word.BracedWordTree
                parts: [
                  ($ VSub_DollarName '$root')
                  (/)
                  (word_part.BracedAltPart words:[{(doc)} {(test)}])
                ]
              )
            )
            (C {(cp)} {(-v)} {(_build/release-date.txt)} {(oil-version.txt)} {($ VSub_DollarName '$root')})
            (C {(build/doc.sh)} {(osh-quick-ref)} {(_release/VERSION)})
            (C {(build/doc.sh)} {(install)})
            (C {(build/doc.sh)} {(release-index)} {($ VSub_DollarName '$root') (/index.html)})
            (C {(copy-web)})
            (C {(tree)} {($ VSub_DollarName '$root')})
          ]
          spids: [2280]
        )
      spids: [2276 2279]
    )
    (command.FuncDef
      name: deploy-doc
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:deploy_repo spids:[2391])
                  op: Equal
                  rhs: {(SQ <../oilshell.org__deploy>)}
                  spids: [2391]
                )
              ]
              spids: [2389]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:release_root_dir spids:[2399])
                  op: Equal
                  rhs: {(DQ ($ VSub_DollarName '$deploy_repo') (/release))}
                  spids: [2399]
                )
              ]
              spids: [2397]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:release_dir spids:[2408])
                  op: Equal
                  rhs: 
                    {
                      (DQ ($ VSub_DollarName '$release_root_dir') (/) 
                        ($ VSub_DollarName '$OIL_VERSION')
                      )
                    }
                  spids: [2408]
                )
              ]
              spids: [2406]
            )
            (C {(cp)} {(-v)} {(-r)} {(--force)} {(--no-target-directory)} {(_release/VERSION/)} 
              {($ VSub_DollarName '$release_dir') (/)}
            )
            (C {(html-index)} {($ VSub_DollarName '$release_root_dir')} {(_tmp/releases.html)})
            (C {(cp)} {(-v)} {(_tmp/releases.html)} {($ VSub_DollarName '$deploy_repo')})
            (C {(tree)} {(-L)} {(3)} {($ VSub_DollarName '$release_root_dir')})
            (C {(ls)} {(-l)} {($ VSub_DollarName '$deploy_repo') (/releases.html)})
          ]
          spids: [2386]
        )
      spids: [2382 2385]
    )
    (command.FuncDef
      name: deploy-tar
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:download_dir spids:[2496])
                  op: Equal
                  rhs: {(SQ <../oilshell.org__deploy/download/>)}
                  spids: [2496]
                )
              ]
              spids: [2494]
            )
            (C {(mkdir)} {(-p)} {($ VSub_DollarName '$download_dir')})
            (C {(cp)} {(-v)} 
              {(_release/oil-) ($ VSub_DollarName '$OIL_VERSION') (.tar.) (Lit_Other '*')} {($ VSub_DollarName '$download_dir')}
            )
            (C {(ls)} {(-l)} {($ VSub_DollarName '$download_dir')})
          ]
          spids: [2491]
        )
      spids: [2487 2490]
    )
    (command.FuncDef
      name: _release-files-html
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:version spids:[2579])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [2579]
                )
              ]
              spids: [2577]
            )
            (C {(echo)} {(SQ <'<table class="file-table">'>)})
            (C {(echo)} 
              {
                (SQ 
                  <
'<tr><thead> <td>File</td> <td>Size</td> <td>SHA256 Checksum</td> </thead></tr>'
                  >
                )
              }
            )
            (command.ForEach
              iter_name: name
              iter_words: [
                (word.BracedWordTree
                  parts: [
                    (oil-)
                    ($ VSub_DollarName '$version')
                    (.tar.)
                    (word_part.BracedAltPart words:[{(xz)} {(gz)}])
                  ]
                )
              ]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:url spids:[2620])
                          op: Equal
                          rhs: {(DQ (download/) ($ VSub_DollarName '$name'))}
                          spids: [2620]
                        )
                      ]
                      spids: [2618]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:path spids:[2632])
                          op: Equal
                          rhs: {(../oilshell.org__deploy/download/) ($ VSub_DollarName '$name')}
                          spids: [2632]
                        )
                      ]
                      spids: [2630]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:checksum spids:[2639])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (command.Pipeline
                                        children: [
                                          (C {(sha256sum)} {($ VSub_DollarName '$path')})
                                          (C {(awk)} {(SQ <'{print $1}'>)})
                                        ]
                                        negated: F
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [2640 2652]
                              )
                            }
                          spids: [2639]
                        )
                      ]
                      spids: [2637]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:size spids:[2657])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(stat)} {(--format)} {(SQ <'%s'>)} 
                                        {($ VSub_DollarName '$path')}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [2658 2668]
                              )
                            }
                          spids: [2657]
                        )
                      ]
                      spids: [2655]
                    )
                    (C {(echo)} 
                      {(SQ <'<tr> <td class="filename"><a href="'>) ($ VSub_DollarName '$url') 
                        (SQ <'">'>) ($ VSub_DollarName '$name') (SQ <'</a></td>\n'> <'               <td class="size">'>) 
                        ($ VSub_DollarName '$size') (SQ <'</td>\n'> <'               <td class="checksum">'>) ($ VSub_DollarName '$checksum') 
                        (SQ <'</td>\n'> <'         </tr>'>)
                      }
                    )
                  ]
                  spids: [2615 2703]
                )
              spids: [2604 2613]
            )
            (C {(echo)} {(SQ <'</table>'>)})
          ]
          spids: [2574]
        )
      spids: [2570 2573]
    )
    (command.FuncDef
      name: _html-index
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:release_root_dir spids:[2779])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [2779]
                )
              ]
              spids: [2777]
            )
            (command.ForEach
              iter_name: entry
              iter_words: [{($ VSub_DollarName '$release_root_dir') (/) (Lit_Other '*')}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (command.Pipeline
                                  children: [(C {(test)} {(-d)} {($ VSub_DollarName '$entry')})]
                                  negated: T
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [(command.ControlFlow token:<ControlFlow_Continue continue>)]
                          spids: [16777215 2812]
                        )
                      ]
                      spids: [16777215 2818]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:dir spids:[2823])
                          op: Equal
                          rhs: {($ VSub_DollarName '$entry')}
                          spids: [2823]
                        )
                      ]
                      spids: [2821]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:version spids:[2830])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(head)} {(-n)} {(1)} 
                                        {($ VSub_DollarName '$dir') (/oil-version.txt)}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [2831 2840]
                              )
                            }
                          spids: [2830]
                        )
                      ]
                      spids: [2828]
                    )
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:release_date spids:[2845])
                          op: Equal
                          rhs: 
                            {
                              (word_part.CommandSubPart
                                command_list: 
                                  (command.CommandList
                                    children: [
                                      (C {(head)} {(-n)} {(1)} 
                                        {($ VSub_DollarName '$dir') (/release-date.txt)}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [2846 2855]
                              )
                            }
                          spids: [2845]
                        )
                      ]
                      spids: [2843]
                    )
                    (C {(log)} {(DQ ('-- ') ($ VSub_DollarName '$dir'))})
                    (C {(log)} {(DQ ('Version: ') ($ VSub_DollarName '$version'))})
                    (C {(log)} {(DQ ('Release Date: ') ($ VSub_DollarName '$release_date'))})
                    (C {(log)} {(DQ )})
                    (C {(echo)} 
                      {(DQ ($ VSub_DollarName '$release_date') (' ') ($ VSub_DollarName '$version'))}
                    )
                  ]
                  spids: [2798 2899]
                )
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_tmp/release-meta.txt)}
                )
              ]
              spids: [2792 2796]
            )
            (command.SimpleCommand
              words: [{(sort)} {(-r)} {(_tmp/release-meta.txt)}]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {(_tmp/sorted-releases.txt)}
                )
              ]
            )
            (command.WhileUntil
              keyword: <KW_While while>
              cond: [
                (command.Sentence
                  child: (C {(read)} {(date)} {(_)} {(version)})
                  terminator: <Op_Semi ';'>
                )
              ]
              body: 
                (command.DoGroup
                  children: [
                    (C {(log)} {(DQ ('Release Date: ') ($ VSub_DollarName '$date'))})
                    (C {(log)} {(DQ ('Version: ') ($ VSub_DollarName '$version'))})
                    (C {(echo)} {(SQ <'<a name="'>) ($ VSub_DollarName '$version') (SQ <'"></a>'>)})
                    (C {(echo)} {(DQ ('<h2>Version ') ($ VSub_DollarName '$version') ('</h2>'))})
                    (C {(echo)} 
                      {(DQ ('<p class=')) (date) (DQ ('>') ($ VSub_DollarName '$date') ('</p>'))}
                    )
                    (C {(echo)} 
                      {(SQ <'<p>                 <a href="release/'>) ($ VSub_DollarName '$version') 
                        (SQ <'/announcement.html">Release Announcement</a>\n'> 
                          <'              &nbsp; | &nbsp; <a href="release/'>
                        ) ($ VSub_DollarName '$version') 
                        (SQ <'/doc/INSTALL.html">INSTALL</a>\n'> 
                          <'              &nbsp; | &nbsp; <a href="release/'>
                        ) ($ VSub_DollarName '$version') (SQ <'/">Docs and Details</a>\n'> <'          </p>'>)
                      }
                    )
                    (C {(_release-files-html)} {($ VSub_DollarName '$version')})
                  ]
                  spids: [2934 3021]
                )
              redirects: [
                (redir.Redir
                  op: <Redir_Less '<'>
                  fd: 16777215
                  arg_word: {(_tmp/sorted-releases.txt)}
                )
              ]
            )
          ]
          spids: [2774]
        )
      spids: [2770 2773]
    )
    (command.FuncDef
      name: _releases-html-header
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(cat)}]
              redirects: [
                (redir.HereDoc
                  op: <Redir_DLess '<<'>
                  fd: 16777215
                  here_begin: {(EOF)}
                  here_end_span_id: 3100
                  stdin_parts: [
                    ('<!DOCTYPE html>\n')
                    ('<html>\n')
                    ('  <head>\n')
                    ('    <title>Oil Releases</title>\n')
                    ('    <style>\n')
                    ('      /* Make it centered and skinny for readability */\n')
                    ('      body {\n')
                    ('        margin: 0 auto;\n')
                    ('        width: 60em;\n')
                    ('      }\n')
                    ('      h1 {\n')
                    ('        text-align: center;\n')
                    ('      }\n')
                    ('      thead {\n')
                    ('        font-weight: bold;\n')
                    ('      }\n')
                    ('      /* Style for checksum, file size, etc. */\n')
                    ('\n')
                    ('      .file-table {\n')
                    ('        width: 100%;\n')
                    ('      }\n')
                    ('\n')
                    ('      .filename {\n')
                    ('        font-family: monospace;\n')
                    ('      }\n')
                    ('\n')
                    ('      .size {\n')
                    ('      }\n')
                    ('      .checksum {\n')
                    ('        font-family: monospace;\n')
                    ('        color: #555;\n')
                    ('      }\n')
                    ('\n')
                    ('      /* Copied from oilshell.org bundle.css */\n')
                    ('      .date {\n')
                    ('        font-size: medium;\n')
                    ('        color: #555;\n')
                    ('        padding-left: 1em;\n')
                    ('      }\n')
                    ('      #home-link {\n')
                    ('        text-align: right;\n')
                    ('      }\n')
                    ('    </style>\n')
                    ('  </head>\n')
                    ('  <body>\n')
                    ('    <p id=')
                    (Right_DoubleQuote '"')
                    (home-link)
                    (Right_DoubleQuote '"')
                    ('>\n')
                    ('      <a href=')
                    (Right_DoubleQuote '"')
                    (/)
                    (Right_DoubleQuote '"')
                    ('>oilshell.org</a>\n')
                    ('    </p>\n')
                    ('    <h1>Oil Releases</h1>\n')
                  ]
                )
              ]
            )
          ]
          spids: [3034]
        )
      spids: [3030 3033]
    )
    (command.FuncDef
      name: _html-footer
      body: 
        (command.BraceGroup
          children: [
            (command.SimpleCommand
              words: [{(cat)}]
              redirects: [
                (redir.HereDoc
                  op: <Redir_DLess '<<'>
                  fd: 16777215
                  here_begin: {(EOF)}
                  here_end_span_id: 3119
                  stdin_parts: [('  </body>\n') ('</html>\n')]
                )
              ]
            )
          ]
          spids: [3108]
        )
      spids: [3104 3107]
    )
    (command.FuncDef
      name: html-index
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:release_root_dir spids:[3132])
                  op: Equal
                  rhs: {($ VSub_Number '$1')}
                  spids: [3132]
                )
              ]
              spids: [3130]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:out spids:[3138])
                  op: Equal
                  rhs: 
                    {
                      (word_part.BracedVarSub
                        token: <VSub_Number 2>
                        suffix_op: 
                          (suffix_op.StringUnary
                            op_id: VTest_ColonHyphen
                            arg_word: {(_tmp) (Lit_Slash /) (releases.html)}
                          )
                        spids: [3139 3145]
                      )
                    }
                  spids: [3138]
                )
              ]
              spids: [3136]
            )
            (command.BraceGroup
              children: [
                (C {(_releases-html-header)})
                (C {(_html-index)} {($ VSub_DollarName '$release_root_dir')})
                (C {(_html-footer)})
              ]
              redirects: [
                (redir.Redir
                  op: <Redir_Great '>'>
                  fd: 16777215
                  arg_word: {($ VSub_DollarName '$out')}
                )
              ]
              spids: [3149]
            )
            (C {(ls)} {(-l)} {($ VSub_DollarName '$out')})
          ]
          spids: [3127]
        )
      spids: [3123 3126]
    )
    (C {(DQ ($ VSub_At '$@'))})
  ]
)