diff --git a/ssh.sh b/ssh.sh index 265f11a..09cf387 100644 --- a/ssh.sh +++ b/ssh.sh @@ -99,8 +99,8 @@ _readstyle() { while read _pattern _style; do - _pattern=${_pattern%%#*} # delete comments - _style=${_style%%#*} # delete comments + _pattern=${_pattern%% #*} # delete comments + _style=${_style%% #*} # delete comments [[ -z ${_pattern} || -z ${_style} ]] && continue