Assorted shell and Python scripts

Don't select wildcard entry

Changed files
+1 -1
+1 -1
gumssh
···
# Read HostNames from ssh config and store them in hostn_array.
while IFS= read -r line; do
-
if [[ "$line" == *"Host "* ]]; then
+
if [[ "$line" == *"Host "* ]] && [[ "$line" != *"Host *" ]]; then
hostn=$(echo "$line" | awk '{ print $2 }')
hostn_array+=("$hostn")
fi