[dv] Shellcheck prettify script

Signed-off-by: Marno van der Maas <mvdmaas+git@lowrisc.org>
This commit is contained in:
Marno van der Maas 2022-10-07 15:03:45 +01:00 committed by Marno van der Maas
parent 322ab3a285
commit 4608df4606

View file

@ -1,4 +1,5 @@
_GET_TRACES=$(find -type f -iregex '.*trace_core.*\.log')
#!/bin/bash
_GET_TRACES=$(find . -type f -iregex '.*trace_core.*\.log')
for trace in $_GET_TRACES; do
column -t -s $'\t' -o ' ' -R 1,2,3,4,5 $trace > $(dirname $trace)/trace_pretty.log
column -t -s $'\t' -o ' ' -R 1,2,3,4,5 "$trace" > "$(dirname "$trace")"/trace_pretty.log
done