An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
besu/.github/workflows/splitList.sh

7 lines
139 B

N=$2 # Number of groups
i=0 # Initialize counter
cat $1 | while read line; do
echo "$line" >> "group_$((i % N + 1)).txt"
let i++
done