(command.CommandList
  children: [
    (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: 
            {
              (CommandSub
                left_token: <Id.Left_Backtick '`'>
                child: 
                  (command.Simple
                    blame_tok: <dirname>
                    more_env: []
                    words: [{<dirname>} {($ Id.VSub_Number 0)}]
                    redirects: []
                    do_fork: T
                  )
                right: <Id.Backtick_Right '`'>
              )
            }
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [{<.>} {(${ Id.VSub_Name dir) <'/misc.sh'>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {(DQ <1..48>)}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <trap>
      more_env: []
      words: [{<trap>} {<restore_settings>} {<EXIT>} {<INT>} {<TERM>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <sysctl>
      more_env: []
      words: [{<sysctl>} {<security.mac.portacl.suser_exempt> <Id.Lit_Equals '='> <1>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<uid>} {<root>} {<tcp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<uid>} {<root>} {<tcp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<uid>} {<root>} {<udp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<uid>} {<root>} {<udp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<gid>} {<root>} {<tcp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<gid>} {<root>} {<tcp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<gid>} {<root>} {<udp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<gid>} {<root>} {<udp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <sysctl>
      more_env: []
      words: [{<sysctl>} {<security.mac.portacl.suser_exempt> <Id.Lit_Equals '='> <0>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<uid>} {<root>} {<tcp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<uid>} {<root>} {<tcp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<uid>} {<root>} {<udp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<uid>} {<root>} {<udp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<gid>} {<root>} {<tcp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<gid>} {<root>} {<tcp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<gid>} {<root>} {<udp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<ok>} {<ok>} {<gid>} {<root>} {<udp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <sysctl>
      more_env: []
      words: [{<sysctl>} {<security.mac.portacl.port_high> <Id.Lit_Equals '='> <7778>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>})]
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<uid>} {<root>} {<tcp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<uid>} {<root>} {<tcp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<uid>} {<root>} {<udp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<uid>} {<root>} {<udp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<gid>} {<root>} {<tcp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<gid>} {<root>} {<tcp>} {<7777>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<gid>} {<root>} {<udp>} {<77>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <bind_test>
      more_env: []
      words: [{<bind_test>} {<fl>} {<ok>} {<gid>} {<root>} {<udp>} {<7777>}]
      redirects: []
      do_fork: T
    )
  ]
)