Mercurial > hg > sonic-annotator
comparison tests/test-include.sh @ 81:9f78c80c80f1
Merge from qt5 branch. We now require qt5 for Sonic Annotator
author | Chris Cannam |
---|---|
date | Wed, 08 May 2013 16:52:37 +0100 |
parents | 2633976fbef5 |
children | 8b4924a9a072 |
comparison
equal
deleted
inserted
replaced
73:b9b145d3013c | 81:9f78c80c80f1 |
---|---|
14 rv=$? | 14 rv=$? |
15 rm "${a}__" "${b}__" | 15 rm "${a}__" "${b}__" |
16 return $rv | 16 return $rv |
17 } | 17 } |
18 | 18 |
19 csvcompare_ignorefirst() { | |
20 # a bit like the above, but ignoring first column (and without temp files) | |
21 out=`cat "$1" "$2" | cut -d, -f2- | perl -p -e 's/(\d+\.\d{6})\d+/$1/' | sort | uniq -c | grep -v ' 2 '` | |
22 return `[ -z "$out" ]` | |
23 } | |
24 | |
25 |