Menu

#2 automatic numeric comparison

open
None
5
2009-01-17
2009-01-17
Anonymous
No

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.

Discussion

  • Nobody/Anonymous

    changes to csvdiff.pl version 1.6

     
  • Roland Schmitz

    Roland Schmitz - 2009-01-17

    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

     
  • Roland Schmitz

    Roland Schmitz - 2009-01-17
    • assigned_to: nobody --> r-sch
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.