gen_dat script
This commit is contained in:
9
results/gen_dat.sh
Executable file
9
results/gen_dat.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for logfile in *.log; do
|
||||||
|
|
||||||
|
log_base_name=$(basename -s .log $logfile)
|
||||||
|
dat_output="${log_base_name}.dat"
|
||||||
|
cut -d, -f 1,3 $logfile | tr -d '()' | tr ',' '\t' > $dat_output
|
||||||
|
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user