search for: datecompar

Displaying 2 results from an estimated 2 matches for "datecompar".

Did you mean: datecompare
2016 Jan 29
2
[Bug 11704] New: rsyncstats sorts dates wrong
...6.26 6.06 2016/01/19 36935 77847.47815 7.59 5.16 2016/01/20 27596 84001.79939 5.67 5.57 2016/01/14 25050 78379.55794 5.15 5.19 2016/01/21 27289 93731.06716 5.61 6.21 The problem is this: sub datecompare { $a gt $b; } This function should return -1,0,1 and not true/false. It should be: sub datecompare { $a cmp $b; } because this is default sort rule you can change: @dates = sort datecompare keys %xferbytes; to @dates = sort keys %xferbytes; foreach $date (sort datecompare keys %xferbyt...
2003 Jul 25
0
rsyncstats
...is a rewritten rsynctats of the version which ships with rsync 2.5.6. No new features, just some things fixed: o -l <depth> works for other values than 2 o -h, -t, -d can be switched on, the old version didn't allow -h and -t to be off... default is off for all now! o datecompare() didn't sort correclty (at least for me ;-)) o output of MB limited to 3 digits after the ., so no more 0.0153874907484 MB transfers ;-) o removed unused faccompare() This version also now uses 'Getopt::Std' and 'strict' and perl runs with -w. Hanno -- * * *...