Skip to content

Commit

Permalink
Fix script for bash utilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
sukritkalra committed Mar 20, 2024
1 parent 1faa1ce commit 63bf3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyze_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# TaskGraphs that have been cancelled.
cancelled() {
if [[ "$1" == *.csv ]]; then
cat $1 | grep "TASK_CANCEL" | awk -F, "{print $6}" | sort | uniq | wc -l
cat $1 | grep "TASK_CANCEL" | awk -F, '{print $6}' | sort | uniq | wc -l
else
echo "cancelled() takes a CSV file as input."
fi
Expand Down

0 comments on commit 63bf3a2

Please sign in to comment.