Updated bash script to have the shebang

This commit is contained in:
rain
2022-04-27 14:09:17 -05:00
parent 7b85a40dcf
commit 974b88c45f
+2
View File
@@ -1,3 +1,5 @@
#!/bin/bash
readarray -t <<< $(cat config.json | grep \"name\" | cut -d '"' -f 4 | awk '{print $1}' | sed "s/^/\(/" | sed "s/$/\)/") # split to array $names
for (( i=0; i<${#MAPFILE[@]}; i++ ))