protected int processReader(BufferedReader reader) throws IOException {
    String line;
    StringBuilder qsb = new StringBuilder();
    while ((line = reader.readLine()) != null) {
      if (!line.startsWith("--")) {
        qsb.append(line);
      }
    }
    return processLine(qsb.toString());
  }
execute the buffered reader which stores the commands
@param reader the buffered reader
@return the return code of the execution result
@throws IOException
common/src/java/org/apache/hadoop/hive/common/cli/HiveFileProcessor.java