Source code on Github
This PHP script can be used to check visually the consistency of data in a flat file. It let you visually check fields content, fields with wrong format (numerical or text), misplaced data and let you alter data content with scripting.