Perl -a Actual-Result -e Expectedt-Result -s " " -c Columnames -t -i -k 2Ĭolumnames in csv format (in one Line!), optional Data::Dumper, deactivated just needed for debugging. Perl and following perl modules are required: new function: numeric comparision for columns check for duplicate ore NULL key columns It was an article about how to compare and syncronize files. : csvdiff was mentioned in the German magazine iX (Magazin für Professionelle Informationstechnik) 02/2008 on page 136-137. I wrote csvdiff to compare two database unloadfiles, but you can use it for any kind If you do so, columnnames are shown if a difference is The separator can be set to the value you want it to, not just comma.Īlso you can to provide a third file which contains the columnnames in one(!) line Record where the difference occours and the field/column which is different. The part that is different to standard diff is, that you'll get the number of the Csvdiff is a perl script to compare/diff two (comma) seperated files with each other.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |