(command.CommandList
  children: [
    (command.Simple
      blame_tok: <Id.Lit_Colon ':'>
      more_env: []
      words: [{<Id.Lit_Colon ':'>}]
      redirects: []
      do_fork: T
    )
    (command.ShFunction
      keyword: <Id.KW_Function function>
      name_tok: <err_exit>
      name: err_exit
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <print>
              more_env: []
              words: [{<print>} {<-u2>} {(DQ ($ Id.VSub_DollarName command) <': '> ($ Id.VSub_At '@'))}]
              redirects: []
              do_fork: T
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      keyword: <Id.KW_Function function>
      name_tok: <usage>
      name: usage
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <print>
              more_env: []
              words: [{<print>} {<-u2>} {(DQ <'Usage: '> ($ Id.VSub_DollarName command) <' file ...'>)}]
              redirects: []
              do_fork: T
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<2>})
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'command='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'command='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'command='> name:command)
          op: assign_op.Equal
          rhs: 
            {
              (BracedVarSub
                left: <Id.Left_DollarBrace '${'>
                token: <Id.VSub_Number 0>
                var_name: 0
                suffix_op: 
                  (suffix_op.Unary
                    op: <Id.VOp1_DPound '##'>
                    arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>}
                  )
                right: <Id.Right_DollarBrace '}'>
              )
            }
        )
      ]
      redirects: []
    )
    (command.Case
      case_kw: <Id.KW_Case case>
      to_match: (case_arg.Word w:{($ Id.VSub_Number 1)})
      arms_start: <Id.KW_In in>
      arms: [
        (CaseArm
          left: <-->
          pattern: (pat.Words words:[{<-->}])
          middle: <Id.Right_CasePat _>
          action: [
            (command.Simple
              blame_tok: <shift>
              more_env: []
              words: [{<shift>}]
              redirects: []
              do_fork: T
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Break break>)
          ]
          right: <Id.Op_DSemi _>
        )
        (CaseArm
          left: <Id.Left_DoubleQuote '"'>
          pattern: 
            (pat.Words
              words: [{(DQ )} {<-> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\?'> ch:'?')}]
            )
          middle: <Id.Right_CasePat _>
          action: [
            (command.Simple
              blame_tok: <usage>
              more_env: []
              words: [{<usage>}]
              redirects: []
              do_fork: T
            )
          ]
          right: <Id.Op_DSemi _>
        )
        (CaseArm
          left: <->
          pattern: (pat.Words words:[{<-> <Id.Lit_Star '*'>}])
          middle: <Id.Right_CasePat _>
          action: [
            (command.Simple
              blame_tok: <print>
              more_env: []
              words: [{<print>} {<-u2>} {<-->} {(DQ ($ Id.VSub_Number 1) <': invalid option'>)}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <usage>
              more_env: []
              words: [{<usage>}]
              redirects: []
              do_fork: T
            )
          ]
          right: <Id.Op_DSemi _>
        )
      ]
      arms_end: <Id.KW_Esac esac>
      redirects: []
    )
    (command.AndOr
      children: [
        (command.Simple
          blame_tok: <2d>
          more_env: []
          words: [{<2d>} {<Id.Lit_Other '+'>}]
          redirects: [(Redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<'/dev/null'>})]
          do_fork: T
        )
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Sentence
              child: 
                (command.AndOr
                  children: [
                    (BraceGroup
                      left: <Id.Lit_LBrace '{'>
                      children: [
                        (command.Sentence
                          child: 
                            (command.AndOr
                              children: [
                                (command.Simple
                                  blame_tok: <Id.Lit_Colon ':'>
                                  more_env: []
                                  words: [{<Id.Lit_Colon ':'>}]
                                  redirects: [
                                    (Redir
                                      op: <Id.Redir_Great '>'>
                                      loc: (redir_loc.Fd fd:1)
                                      arg: {<xxx>}
                                    )
                                  ]
                                  do_fork: T
                                )
                                (command.Simple
                                  blame_tok: <rm>
                                  more_env: []
                                  words: [{<rm>} {<xxx>}]
                                  redirects: []
                                  do_fork: T
                                )
                                (command.Simple
                                  blame_tok: <2d>
                                  more_env: []
                                  words: [{<2d>} {<Id.Lit_Other '+'>}]
                                  redirects: []
                                  do_fork: T
                                )
                              ]
                              ops: [<Id.Op_DAmp _> <Id.Op_DAmp _>]
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                      redirects: []
                      right: <Id.Lit_RBrace '}'>
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Exit exit>
                      arg_word: {<1>}
                    )
                  ]
                  ops: [<Id.Op_DPipe _>]
                )
              terminator: <Id.Op_Semi _>
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
      ]
      ops: [<Id.Op_DPipe _>]
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'n='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'n='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'n='> name:n)
          op: assign_op.Equal
          rhs: 
            {
              (CommandSub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (command.Simple
                    blame_tok: <umask>
                    more_env: []
                    words: [{<umask>}]
                    redirects: []
                    do_fork: T
                  )
                right: <Id.Eof_RParen _>
              )
            }
        )
      ]
      redirects: []
    )
    (command.ForEach
      keyword: <Id.KW_For for>
      iter_names: [i]
      iterable: (for_iter__Args)
      body: 
        (command.DoGroup
          left: <Id.KW_Do do>
          children: [
            (command.If
              if_kw: <Id.KW_If if>
              arms: [
                (IfArm
                  keyword: <Id.KW_If if>
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.DBracket
                          left: <Id.KW_DLeftBracket '[['>
                          expr: (bool_expr.Unary op_id:Id.BoolUnary_f child:{($ Id.VSub_DollarName i)})
                          right: <Id.Lit_DRightBracket ']]'>
                          redirects: []
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.AndOr
                      children: [
                        (command.DBracket
                          left: <Id.KW_DLeftBracket '[['>
                          expr: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_ef
                              left: {($ Id.VSub_DollarName i)}
                              right: {<'.../...'>}
                            )
                          right: <Id.Lit_DRightBracket ']]'>
                          redirects: []
                        )
                        (command.Simple
                          blame_tok: <print>
                          more_env: []
                          words: [
                            {<print>}
                            {<-u2>}
                            {
                              (DQ ($ Id.VSub_DollarName command) <': '> ($ Id.VSub_DollarName i) 
                                <': file exists'>
                              )
                            }
                          ]
                          redirects: []
                          do_fork: T
                        )
                      ]
                      ops: [<Id.Op_DPipe _>]
                    )
                  ]
                  spids: [245 256]
                )
              ]
              else_kw: <Id.KW_Else else>
              else_action: [
                (command.Case
                  case_kw: <Id.KW_Case case>
                  to_match: (case_arg.Word w:{($ Id.VSub_DollarName i)})
                  arms_start: <Id.KW_In in>
                  arms: [
                    (CaseArm
                      left: <Id.Lit_Star '*'>
                      pattern: (pat.Words words:[{<Id.Lit_Star '*'> <'/'> <Id.Lit_Star '*'>}])
                      middle: <Id.Right_CasePat _>
                      action: [
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'dir='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'dir='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dir='> name:dir)
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (BracedVarSub
                                    left: <Id.Left_DollarBrace '${'>
                                    token: <Id.VSub_Name i>
                                    var_name: i
                                    suffix_op: 
                                      (suffix_op.Unary
                                        op: <Id.VOp1_Percent '%'>
                                        arg_word: {<Id.Lit_Slash '/'> <Id.Lit_Other '*'>}
                                      )
                                    right: <Id.Right_DollarBrace '}'>
                                  )
                                }
                            )
                            (AssignPair
                              left: <Id.Lit_VarLike 'file='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'file='> name:file)
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (BracedVarSub
                                    left: <Id.Left_DollarBrace '${'>
                                    token: <Id.VSub_Name i>
                                    var_name: i
                                    suffix_op: 
                                      (suffix_op.Unary
                                        op: <Id.VOp1_DPound '##'>
                                        arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>}
                                      )
                                    right: <Id.Right_DollarBrace '}'>
                                  )
                                }
                            )
                          ]
                          redirects: []
                        )
                      ]
                      right: <Id.Op_DSemi _>
                    )
                    (CaseArm
                      left: <Id.Lit_Star '*'>
                      pattern: (pat.Words words:[{<Id.Lit_Star '*'>}])
                      middle: <Id.Right_CasePat _>
                      action: [
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'dir='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'dir='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dir='> name:dir)
                              op: assign_op.Equal
                              rhs: {<.>}
                            )
                            (AssignPair
                              left: <Id.Lit_VarLike 'file='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'file='> name:file)
                              op: assign_op.Equal
                              rhs: {($ Id.VSub_DollarName i)}
                            )
                          ]
                          redirects: []
                        )
                      ]
                      right: <Id.Op_DSemi _>
                    )
                  ]
                  arms_end: <Id.KW_Esac esac>
                  redirects: []
                )
                (command.AndOr
                  children: [
                    (command.DBracket
                      left: <Id.KW_DLeftBracket '[['>
                      expr: 
                        (bool_expr.Binary
                          op_id: Id.BoolBinary_ef
                          left: {($ Id.VSub_DollarName dir)}
                          right: {<.>}
                        )
                      right: <Id.Lit_DRightBracket ']]'>
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <cd>
                      more_env: []
                      words: [{<cd>} {(DQ ($ Id.VSub_DollarName dir))}]
                      redirects: []
                      do_fork: T
                    )
                    (command.Simple
                      blame_tok: <err_exit>
                      more_env: []
                      words: [{<err_exit>} {(DQ ($ Id.VSub_DollarName dir) <': cd failed'>)}]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  ops: [<Id.Op_DPipe _> <Id.Op_DPipe _>]
                )
                (command.If
                  if_kw: <Id.KW_If if>
                  arms: [
                    (IfArm
                      keyword: <Id.KW_If if>
                      cond: 
                        (condition.Shell
                          commands: [
                            (command.DBracket
                              left: <Id.KW_DLeftBracket '[['>
                              expr: 
                                (bool_expr.LogicalNot
                                  child: (bool_expr.Unary op_id:Id.BoolUnary_f child:{<'.../...'>})
                                )
                              right: <Id.Lit_DRightBracket ']]'>
                              redirects: []
                            )
                          ]
                        )
                      then_kw: <Id.KW_Then then>
                      action: [
                        (command.If
                          if_kw: <Id.KW_If if>
                          arms: [
                            (IfArm
                              keyword: <Id.KW_If if>
                              cond: 
                                (condition.Shell
                                  commands: [
                                    (command.DBracket
                                      left: <Id.KW_DLeftBracket '[['>
                                      expr: 
                                        (bool_expr.LogicalNot
                                          child: (bool_expr.Unary op_id:Id.BoolUnary_d child:{<...>})
                                        )
                                      right: <Id.Lit_DRightBracket ']]'>
                                      redirects: []
                                    )
                                  ]
                                )
                              then_kw: <Id.KW_Then then>
                              action: [
                                (command.If
                                  if_kw: <Id.KW_If if>
                                  arms: [
                                    (IfArm
                                      keyword: <Id.KW_If if>
                                      cond: 
                                        (condition.Shell
                                          commands: [
                                            (command.Simple
                                              blame_tok: <mkdir>
                                              more_env: []
                                              words: [{<mkdir>} {<Id.Lit_TDot ...>}]
                                              redirects: []
                                              do_fork: T
                                            )
                                          ]
                                        )
                                      then_kw: <Id.KW_Then then>
                                      action: [
                                        (command.AndOr
                                          children: [
                                            (command.Simple
                                              blame_tok: <chgrp>
                                              more_env: []
                                              words: [{<chgrp>} {<3d>} {<Id.Lit_TDot ...>}]
                                              redirects: [
                                                (Redir
                                                  op: <Id.Redir_Great '2>'>
                                                  loc: (redir_loc.Fd fd:2)
                                                  arg: {<'/dev/null'>}
                                                )
                                              ]
                                              do_fork: T
                                            )
                                            (command.Simple
                                              blame_tok: <chmod>
                                              more_env: []
                                              words: [
                                                {<chmod>}
                                                {<g> <Id.Lit_Other '+'> <s>}
                                                {<Id.Lit_TDot ...>}
                                              ]
                                              redirects: []
                                              do_fork: T
                                            )
                                          ]
                                          ops: [<Id.Op_DAmp _>]
                                        )
                                        (command.Simple
                                          blame_tok: <umask>
                                          more_env: []
                                          words: [{<umask>} {<777>}]
                                          redirects: []
                                          do_fork: T
                                        )
                                        (command.AndOr
                                          children: [
                                            (command.Simple
                                              blame_tok: <Id.Redir_Great '>'>
                                              more_env: []
                                              words: []
                                              redirects: [
                                                (Redir
                                                  op: <Id.Redir_Great '>'>
                                                  loc: (redir_loc.Fd fd:1)
                                                  arg: {<'.../...'>}
                                                )
                                              ]
                                              do_fork: F
                                            )
                                            (command.Simple
                                              blame_tok: <err_exit>
                                              more_env: []
                                              words: [
                                                {<err_exit>}
                                                {(DQ ($ Id.VSub_DollarName i) <': cannot opaque'>)}
                                              ]
                                              redirects: []
                                              do_fork: T
                                            )
                                          ]
                                          ops: [<Id.Op_DPipe _>]
                                        )
                                        (command.Simple
                                          blame_tok: <umask>
                                          more_env: []
                                          words: [
                                            {<umask>}
                                            {
                                              (BracedVarSub
                                                left: <Id.Left_DollarBrace '${'>
                                                token: <Id.VSub_Name n>
                                                var_name: n
                                                suffix_op: 
                                                  (suffix_op.Unary
                                                    op: <Id.VOp1_Pound '#'>
                                                    arg_word: {<8> <Id.Lit_Pound '#'>}
                                                  )
                                                right: <Id.Right_DollarBrace '}'>
                                              )
                                            }
                                          ]
                                          redirects: []
                                          do_fork: T
                                        )
                                      ]
                                      spids: [388 395]
                                    )
                                    (IfArm
                                      keyword: <Id.KW_Elif elif>
                                      cond: 
                                        (condition.Shell
                                          commands: [
                                            (command.DBracket
                                              left: <Id.KW_DLeftBracket '[['>
                                              expr: 
                                                (bool_expr.LogicalNot
                                                  child: 
                                                    (bool_expr.Unary
                                                      op_id: Id.BoolUnary_f
                                                      child: {<...>}
                                                    )
                                                )
                                              right: <Id.Lit_DRightBracket ']]'>
                                              redirects: []
                                            )
                                          ]
                                        )
                                      then_kw: <Id.KW_Then then>
                                      action: [
                                        (command.Simple
                                          blame_tok: <err_exit>
                                          more_env: []
                                          words: [{<err_exit>} {(DQ <'...: cannot mkdir'>)}]
                                          redirects: []
                                          do_fork: T
                                        )
                                      ]
                                      spids: [446 459]
                                    )
                                    (IfArm
                                      keyword: <Id.KW_Elif elif>
                                      cond: 
                                        (condition.Shell
                                          commands: [
                                            (command.DBracket
                                              left: <Id.KW_DLeftBracket '[['>
                                              expr: 
                                                (bool_expr.LogicalOr
                                                  left: 
                                                    (bool_expr.Unary
                                                      op_id: Id.BoolUnary_r
                                                      child: {<...>}
                                                    )
                                                  right: 
                                                    (bool_expr.LogicalOr
                                                      left: 
                                                        (bool_expr.Unary
                                                          op_id: Id.BoolUnary_w
                                                          child: {<...>}
                                                        )
                                                      right: 
                                                        (bool_expr.LogicalOr
                                                          left: 
                                                            (bool_expr.Unary
                                                              op_id: Id.BoolUnary_x
                                                              child: {<...>}
                                                            )
                                                          right: 
                                                            (bool_expr.Unary
                                                              op_id: Id.BoolUnary_s
                                                              child: {<...>}
                                                            )
                                                        )
                                                    )
                                                )
                                              right: <Id.Lit_DRightBracket ']]'>
                                              redirects: []
                                            )
                                          ]
                                        )
                                      then_kw: <Id.KW_Then then>
                                      action: [
                                        (command.Simple
                                          blame_tok: <err_exit>
                                          more_env: []
                                          words: [
                                            {<err_exit>}
                                            {(DQ <'...: obsolescent opaque must be 0 mode file'>)}
                                          ]
                                          redirects: []
                                          do_fork: T
                                        )
                                      ]
                                      spids: [468 498]
                                    )
                                  ]
                                  else_kw: <Id.KW_Else else>
                                  else_action: [
                                    (command.AndOr
                                      children: [
                                        (command.Simple
                                          blame_tok: <mkdir>
                                          more_env: []
                                          words: [{<mkdir>} {<...3d>}]
                                          redirects: []
                                          do_fork: T
                                        )
                                        (command.Simple
                                          blame_tok: <err_exit>
                                          more_env: []
                                          words: [{<err_exit>} {(DQ <'...3d: cannot mkdir'>)}]
                                          redirects: []
                                          do_fork: T
                                        )
                                      ]
                                      ops: [<Id.Op_DPipe _>]
                                    )
                                    (command.If
                                      if_kw: <Id.KW_If if>
                                      arms: [
                                        (IfArm
                                          keyword: <Id.KW_If if>
                                          cond: 
                                            (condition.Shell
                                              commands: [
                                                (command.Simple
                                                  blame_tok: <mv>
                                                  more_env: []
                                                  words: [{<mv>} {<Id.Lit_TDot ...>} {<...3d>}]
                                                  redirects: []
                                                  do_fork: T
                                                )
                                              ]
                                            )
                                          then_kw: <Id.KW_Then then>
                                          action: [
                                            (command.If
                                              if_kw: <Id.KW_If if>
                                              arms: [
                                                (IfArm
                                                  keyword: <Id.KW_If if>
                                                  cond: 
                                                    (condition.Shell
                                                      commands: [
                                                        (command.Simple
                                                          blame_tok: <mv>
                                                          more_env: []
                                                          words: [{<mv>} {<...3d>} {<Id.Lit_TDot ...>}]
                                                          redirects: []
                                                          do_fork: T
                                                        )
                                                      ]
                                                    )
                                                  then_kw: <Id.KW_Then then>
                                                  action: [
                                                    (command.Simple
                                                      blame_tok: <Id.Lit_Colon ':'>
                                                      more_env: []
                                                      words: [{<Id.Lit_Colon ':'>}]
                                                      redirects: []
                                                      do_fork: T
                                                    )
                                                  ]
                                                  spids: [533 542]
                                                )
                                              ]
                                              else_kw: <Id.KW_Else else>
                                              else_action: [
                                                (command.Simple
                                                  blame_tok: <rmdir>
                                                  more_env: []
                                                  words: [{<rmdir>} {<Id.Lit_TDot ...>}]
                                                  redirects: []
                                                  do_fork: T
                                                )
                                                (command.Simple
                                                  blame_tok: <mv>
                                                  more_env: []
                                                  words: [{<mv>} {<...3d>} {<Id.Lit_TDot ...>}]
                                                  redirects: []
                                                  do_fork: T
                                                )
                                                (command.Simple
                                                  blame_tok: <err_exit>
                                                  more_env: []
                                                  words: [
                                                    {<err_exit>}
                                                    {(DQ <'...: cannot rename obsolescent opaque'>)}
                                                  ]
                                                  redirects: []
                                                  do_fork: T
                                                )
                                              ]
                                              fi_kw: <Id.KW_Fi fi>
                                              redirects: []
                                            )
                                          ]
                                          spids: [522 531]
                                        )
                                      ]
                                      else_kw: <Id.KW_Else else>
                                      else_action: [
                                        (command.Simple
                                          blame_tok: <rmdir>
                                          more_env: []
                                          words: [{<rmdir>} {<...3d>}]
                                          redirects: []
                                          do_fork: T
                                        )
                                        (command.Simple
                                          blame_tok: <err_exit>
                                          more_env: []
                                          words: [
                                            {<err_exit>}
                                            {(DQ <'...: cannot rename obsolescent opaque'>)}
                                          ]
                                          redirects: []
                                          do_fork: T
                                        )
                                      ]
                                      fi_kw: <Id.KW_Fi fi>
                                      redirects: []
                                    )
                                    (command.AndOr
                                      children: [
                                        (command.Simple
                                          blame_tok: <chgrp>
                                          more_env: []
                                          words: [{<chgrp>} {<3d>} {<Id.Lit_TDot ...>}]
                                          redirects: [
                                            (Redir
                                              op: <Id.Redir_Great '2>'>
                                              loc: (redir_loc.Fd fd:2)
                                              arg: {<'/dev/null'>}
                                            )
                                          ]
                                          do_fork: T
                                        )
                                        (command.Simple
                                          blame_tok: <chmod>
                                          more_env: []
                                          words: [
                                            {<chmod>}
                                            {<g> <Id.Lit_Other '+'> <s>}
                                            {<Id.Lit_TDot ...>}
                                          ]
                                          redirects: []
                                          do_fork: T
                                        )
                                      ]
                                      ops: [<Id.Op_DAmp _>]
                                    )
                                  ]
                                  fi_kw: <Id.KW_Fi fi>
                                  redirects: []
                                )
                              ]
                              spids: [373 386]
                            )
                          ]
                          else_kw: <Id.KW_Else else>
                          else_action: [
                            (command.Simple
                              blame_tok: <umask>
                              more_env: []
                              words: [{<umask>} {<777>}]
                              redirects: []
                              do_fork: T
                            )
                            (command.AndOr
                              children: [
                                (command.Simple
                                  blame_tok: <Id.Redir_Great '>'>
                                  more_env: []
                                  words: []
                                  redirects: [
                                    (Redir
                                      op: <Id.Redir_Great '>'>
                                      loc: (redir_loc.Fd fd:1)
                                      arg: {<'.../...'>}
                                    )
                                  ]
                                  do_fork: F
                                )
                                (command.Simple
                                  blame_tok: <err_exit>
                                  more_env: []
                                  words: [
                                    {<err_exit>}
                                    {(DQ ($ Id.VSub_DollarName i) <': cannot opaque'>)}
                                  ]
                                  redirects: []
                                  do_fork: T
                                )
                              ]
                              ops: [<Id.Op_DPipe _>]
                            )
                            (command.Simple
                              blame_tok: <umask>
                              more_env: []
                              words: [
                                {<umask>}
                                {
                                  (BracedVarSub
                                    left: <Id.Left_DollarBrace '${'>
                                    token: <Id.VSub_Name n>
                                    var_name: n
                                    suffix_op: 
                                      (suffix_op.Unary
                                        op: <Id.VOp1_Pound '#'>
                                        arg_word: {<8> <Id.Lit_Pound '#'>}
                                      )
                                    right: <Id.Right_DollarBrace '}'>
                                  )
                                }
                              ]
                              redirects: []
                              do_fork: T
                            )
                          ]
                          fi_kw: <Id.KW_Fi fi>
                          redirects: []
                        )
                      ]
                      spids: [358 371]
                    )
                  ]
                  else_action: []
                  fi_kw: <Id.KW_Fi fi>
                  redirects: []
                )
                (command.Simple
                  blame_tok: <ln>
                  more_env: []
                  words: [{<ln>} {<'.../...'>} {(DQ ($ Id.VSub_DollarName file))}]
                  redirects: []
                  do_fork: T
                )
                (command.AndOr
                  children: [
                    (command.DBracket
                      left: <Id.KW_DLeftBracket '[['>
                      expr: 
                        (bool_expr.Binary
                          op_id: Id.BoolBinary_ef
                          left: {($ Id.VSub_DollarName dir)}
                          right: {<.>}
                        )
                      right: <Id.Lit_DRightBracket ']]'>
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <cd>
                      more_env: []
                      words: [{<cd>} {(word_part.TildeSub token:<Id.Lit_TildeLike '~-'> user_name:-)}]
                      redirects: []
                      do_fork: T
                    )
                    (command.Simple
                      blame_tok: <err_exit>
                      more_env: []
                      words: [
                        {<err_exit>}
                        {(DQ ($ Id.VSub_DollarName OLDPWD) <': cannot restore directory'>)}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  ops: [<Id.Op_DPipe _> <Id.Op_DPipe _>]
                )
              ]
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
          ]
          right: <Id.KW_Done done>
        )
      redirects: []
    )
  ]
)