• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2# now we have -q optiuon
3#find . -name '*.xml' | xargs ~/bin-build/XMLValidator 2>&1 | tee validate.log | fgrep -v 'Processing file '
4XMLValidator -q seed common 2>&1 | tee validate.log
5fgrep -q 'Exception in thread' validate.log && exit 1
6fgrep -q ERROR validate.log  || exit 0
7echo `fgrep -c ERROR validate.log` errors. >&2
8exit 1
9