From da0ddf7551ad2815ea555653da6683c6842b6ede Mon Sep 17 00:00:00 2001 From: Q Date: Sat, 8 Feb 2020 22:10:31 +0200 Subject: [PATCH] emojis everywhere! --- web/ssh-tunnelier | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/ssh-tunnelier b/web/ssh-tunnelier index d500156..505800f 100755 --- a/web/ssh-tunnelier +++ b/web/ssh-tunnelier @@ -91,10 +91,10 @@ function read_config() { while read line; do id=$( get_id "$line" ) pid=$( get_pid "$id" ) - printf "%-3d %-7s %s\n" $i "$pid" "$line" + printf "%-3d %-7s %s\n" $i "$pid" "$line" | sed 's,:localhost:,:'$LOCALHOSTSYMBOL':,g' ids+=( $id ) i=$(( i + 1 )) - done < <( grep -v ^# "$CONF" | grep '[a-zA-Z]' ) | sed 's,:localhost:,:'$LOCALHOSTSYMBOL':,g' + done < <( grep -v ^# "$CONF" | grep '[a-zA-Z]' ) } function run_args() {