Skip to content

Commit

Permalink
[dv] Shellcheck prettify script
Browse files Browse the repository at this point in the history
Signed-off-by: Marno van der Maas <[email protected]>
  • Loading branch information
marnovandermaas committed Oct 11, 2022
1 parent 322ab3a commit 4608df4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dv/uvm/core_ibex/scripts/prettify.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4608df4

Please sign in to comment.