(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:COMPARE)
          op: Equal
          rhs: {(DQ ($ VSub_Number '$1'))}
          spids: [19]
        )
      ]
      spids: [19]
    )
    (FuncDef
      name: mine_commands
      body: 
        (BraceGroup
          children: [
            (Pipeline
              children: [
                (C {(awk)} {(SQ <'{print $1}'>)} 
                  {(build/logs/cmdlines.) ($ VSub_Number '$1') (.) (Lit_Other '*')}
                )
                (C {(sort)} {(-u)})
              ]
              negated: F
            )
          ]
          spids: [35]
        )
      spids: [29 34]
    )
    (ForEach
      iter_name: i
      iter_words: [
        {
          (CommandSubPart
            command_list: 
              (CommandList
                children: [
                  (Pipeline
                    children: [
                      (C {(ls)} {(-1)} {(build/logs/cmdlines.) (Lit_Other '*')})
                      (C {(sed)} {(SQ <'s@.*/cmdlines\\.\\([^.]*\\).*@\\1@'>)})
                      (C {(sort)} {(-u)})
                    ]
                    negated: F
                  )
                ]
              )
            left_token: <Left_Backtick '`'>
            spids: [68 89]
          )
        }
      ]
      do_arg_iter: F
      body: 
        (DoGroup
          children: [
            (AndOr
              ops: [Op_DAmp]
              children: [
                (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$COMPARE'))} {(Lit_Other '=') (Lit_Other '=')} 
                  {(DQ ($ VSub_Name '$i'))} {(Lit_Other ']')}
                )
                (ControlFlow token:<ControlFlow_Continue continue>)
              ]
            )
            (C {(echo)})
            (C {(echo)} {(-n)} {(Checking)} {($ VSub_Name '$i') (Lit_Other ':')})
            (If
              arms: [
                (if_arm
                  cond: [(C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$COMPARE'))} {(Lit_Other ']')})]
                  action: [
                    (C {(echo)} 
                      {
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [(C {(mine_commands)} {($ VSub_Name '$i')})]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [155 159]
                        )
                      }
                    )
                  ]
                  spids: [16777215 146]
                )
              ]
              else_action: [
                (C {(echo)} 
                  {
                    (CommandSubPart
                      command_list: 
                        (CommandList
                          children: [
                            (Pipeline
                              children: [
                                (C {(sort)} 
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [(C {(mine_commands)} {($ VSub_Name '$COMPARE')})]
                                        )
                                      left_token: <Left_ProcSubIn '<('>
                                      spids: [174 178]
                                    )
                                  } 
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [(C {(mine_commands)} {($ VSub_Name '$i')})]
                                        )
                                      left_token: <Left_ProcSubIn '<('>
                                      spids: [180 184]
                                    )
                                  }
                                )
                                (C {(uniq)} {(-u)})
                              ]
                              negated: F
                            )
                          ]
                        )
                      left_token: <Left_CommandSub '$('>
                      spids: [171 191]
                    )
                  }
                )
              ]
              spids: [162 194]
            )
          ]
          spids: [91 196]
        )
      spids: [67 16777215]
    )
  ]
)