source: benchmark/fixcsv.sh @ 3430ce8

Last change on this file since 3430ce8 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.