I found your csvdiff script useful but I had too many columns to want to list all of one or the other. Instead, I changed the script to use numeric compares when both fields were numeric or a text compare otherwise. I made a quick and dirty change and have attached the diffs. You may want to incorporate the functionallity with command line arguments to switch things on and off.
Regards,
Steven
steven -:- martin -2- nestgroup -:- net
P.S. I couldn't read the comments, but I think the regular expression for testing numbers doesn't allow scientific notation.
changes to csvdiff.pl version 1.6
Hi Steven,
thank you very much. Because i get very less feedback, i'm very happy that you made some enhacements. As soon as posible i will include this into csvdiff.
The comments are in german, this is my mother tongue, and csvdiff is a "one man show", so i made it comfortabe for me ;-}
Your's
Roland