Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created April 17, 2023 19:22
Show Gist options
  • Select an option

  • Save KyMidd/ee639d53b510ef3b0ebe9d9231b3d668 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/ee639d53b510ef3b0ebe9d9231b3d668 to your computer and use it in GitHub Desktop.
# Shard number
SHARD_NUMBER=$(echo "$SHARD" | cut -d "/" -f 1)
# Number of shards
SHARD_COUNT=$(echo "$SHARD" | cut -d "/" -f 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment