#!/bin/bash

# Usage: $0 < logfile
# looks for which files have errors.

if [ -n "$1" ] ; then
  find -name '*.tlog' | grep "$1" | xargs -l1 utils/first-compiler-error.sh
else
  find -name '*.tlog' | xargs -l1 utils/first-compiler-error.sh
fi
