(command.CommandList
  children: [
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {($ Id.VSub_Pound '#')} {<-lt>} {<3>} {<-o>} 
                      {($ Id.VSub_Pound '#')} {<-gt>} {<4>} {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (C {<echo>} 
              {
                (DQ <'Usage: '> 
                  (command_sub
                    left_token: <Id.Left_Backtick '`'>
                    child: (C {<basename>} {($ Id.VSub_Number 0)})
                    right: <Id.Backtick_Right '`'>
                  ) <' TITLE OKBUTTONTEXT [CANCELBUTTONTEXT]'>
                )
              }
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<127>})
          ]
          spids: [83 104]
        )
      ]
      else_action: []
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'messageString='> name:messageString)
          op: assign_op.Equal
          rhs: {(DQ ($ Id.VSub_Number 1))}
          spids: [133]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dialogTitle='> name:dialogTitle)
          op: assign_op.Equal
          rhs: {(DQ ($ Id.VSub_Number 2))}
          spids: [138]
        )
      ]
      redirects: []
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {($ Id.VSub_Pound '#')} {<-eq>} {<4>} {<-a>} 
                      {(DQ ($ Id.VSub_Number 4))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ )} {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'type='> name:type)
                  op: assign_op.Equal
                  rhs: {(DQ <--question>)}
                  spids: [171]
                )
              ]
              redirects: []
            )
          ]
          spids: [144 168]
        )
      ]
      else_action: [
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'type='> name:type)
              op: assign_op.Equal
              rhs: {(DQ <--info>)}
              spids: [179]
            )
          ]
          redirects: []
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'reply='> name:reply)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (C {<'/usr/bin/zenity'>} {($ Id.VSub_DollarName type)} 
                    {<--title> <Id.Lit_Equals '='> (DQ ($ Id.VSub_DollarName dialogTitle))} {<--height> <Id.Lit_Equals '='> <100>} {<--width> <Id.Lit_Equals '='> <200>} 
                    {<--text> <Id.Lit_Equals '='> (DQ ($ Id.VSub_DollarName messageString))}
                  )
                right: <Id.Eof_RParen _>
              )
            }
          spids: [187]
        )
      ]
      redirects: []
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{($ Id.VSub_DollarName reply)})
  ]
)