|
|
@ -18,7 +18,7 @@ while read -r line; do |
|
|
|
echo -n "\"shortname\":" >> "shortnamearray.json" |
|
|
|
echo -n "\"${shortname}\"" >> "shortnamearray.json" |
|
|
|
echo -n "}," >> "shortnamearray.json" |
|
|
|
done < serverlist.csv |
|
|
|
done < <(tail -n +2 serverlist.csv) |
|
|
|
sed -i '$ s/.$//' "shortnamearray.json" |
|
|
|
echo -n "]" >> "shortnamearray.json" |
|
|
|
echo -n "}" >> "shortnamearray.json" |
|
|
|