Skip to content

Commit

Permalink
chore: change text formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Aetherinox committed Oct 24, 2024
1 parent 5e886fe commit 9b6d086
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/scripts/bl-master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,6 @@ download_list()
# Count lines and subnets
# #

COUNT_TOTAL_IP=$(printf "%'d" "$COUNT_TOTAL_IP") # GLOBAL add commas to thousands
COUNT_TOTAL_SUBNET=$(printf "%'d" "$COUNT_TOTAL_SUBNET") # GLOBAL add commas to thousands

DL_COUNT_TOTAL_IP=$(printf "%'d" "$DL_COUNT_TOTAL_IP") # LOCAL add commas to thousands
DL_COUNT_TOTAL_SUBNET=$(printf "%'d" "$DL_COUNT_TOTAL_SUBNET") # LOCAL add commas to thousands

Expand Down Expand Up @@ -273,9 +270,6 @@ if [ -d .github/blocks/ ]; then
# Count lines and subnets
# #

COUNT_TOTAL_IP=$(printf "%'d" "$COUNT_TOTAL_IP") # GLOBAL add commas to thousands
COUNT_TOTAL_SUBNET=$(printf "%'d" "$COUNT_TOTAL_SUBNET") # GLOBAL add commas to thousands

BLOCKS_COUNT_TOTAL_IP=$(printf "%'d" "$BLOCKS_COUNT_TOTAL_IP") # LOCAL add commas to thousands
BLOCKS_COUNT_TOTAL_SUBNET=$(printf "%'d" "$BLOCKS_COUNT_TOTAL_SUBNET") # LOCAL add commas to thousands

Expand Down Expand Up @@ -306,6 +300,13 @@ rm ${ARG_SAVEFILE}.sort
COUNT_LINES=$(wc -l < ${ARG_SAVEFILE}) # count ip lines
COUNT_LINES=$(printf "%'d" "$COUNT_LINES") # GLOBAL add commas to thousands

# #
# Format count totals since we no longer need to add
# #

COUNT_TOTAL_IP=$(printf "%'d" "$COUNT_TOTAL_IP") # GLOBAL add commas to thousands
COUNT_TOTAL_SUBNET=$(printf "%'d" "$COUNT_TOTAL_SUBNET") # GLOBAL add commas to thousands

# #
# ed
# 0a top of file
Expand Down

0 comments on commit 9b6d086

Please sign in to comment.