Skip to content

Commit

Permalink
add_metrics_to_readme: ZSH compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
excalq committed Apr 20, 2023
1 parent f9985b3 commit fb00b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/add_metrics_to_readme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function getMetrics() {
}

FILE=README.md
mapfile -t LINES < $FILE
while IFS= read -r line; do LINES+=("$line"); done < $FILE

startLine=$(grep -n "^<!-- METRICS_TABLE_START -->" $FILE | awk -F: '{print $1}')
endLine=$(grep -n "^<!-- METRICS_TABLE_END -->" $FILE | awk -F: '{print $1}')
Expand Down

0 comments on commit fb00b9a

Please sign in to comment.