Skip to content

Instantly share code, notes, and snippets.

@r-martins
Created December 5, 2012 13:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save r-martins/4215534 to your computer and use it in GitHub Desktop.
Save r-martins/4215534 to your computer and use it in GitHub Desktop.
Encontrando erros de formatação em XML's
for file in `find . -name "*.xml"`; do xmllint --noout $file; done
fará uma busca por todos os arquivos xml recursivamente e mostrará se houver algum com erro de sintaxe, tags nao fechadas, etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment