Skip to content

Instantly share code, notes, and snippets.

View tstrul1's full-sized avatar

Tzachi Strul tstrul1

View GitHub Profile
#!/usr/bin/env bash
while read -r instance; do
while read -r current_node_cpus; do
current_node=();
for i in $current_node_cpus; do
current_node[i]=1
done