source: benchmark/fixcsv.sh @ 1a45263

ADTast-experimental
Last change on this file since 1a45263 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
RevLine 
[f15fe0a]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.