source: benchmark/fixcsv.sh @ 44a0ca2

ADTast-experimental
Last change on this file since 44a0ca2 was f15fe0a, checked in by tdelisle <tdelisle@…>, 6 years ago

Jenkins benchmarks updated to use plot plugin

  • Property mode set to 100755
File size: 193 bytes
Line 
1#!/bin/bash
2
3CSV=$1
4tmpfile=$(mktemp)
5function finish {
6  rm -rf "$tmpfile"
7}
8trap finish EXIT
9
10mv $CSV $tmpfile
11cat $tmpfile | tr "\n" "\t" | sed -r 's/\t,/,/g;s/,\t/,/g' | tr "\t" "\n" > $CSV
Note: See TracBrowser for help on using the repository browser.