Last active
July 19, 2021 14:13
-
-
Save otrack/677b289eece33bb354558ebd1e46bdc1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
REGIONS=4 | |
for i in $(seq 1 1 ${REGIONS}); | |
do | |
rm -f region-${i}.txt | |
for j in $(seq 1 1 ${REGIONS} | shuf); | |
do | |
if [ "${i}" -ne "${j}" ] | |
then | |
echo "100/100/100/region-${j}" >> region-${i}.txt | |
fi | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment