From 18c8529e0127f0124a4d79b9ab6a7c1a431ea36b Mon Sep 17 00:00:00 2001 From: Uwe Werler Date: Wed, 19 Aug 2020 22:01:19 +0000 Subject: [PATCH] delete only comments with leading blank so colors can be configured also as hex value --- ssh.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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