From 7640bdabea87fd1d2fcb18db165c7382e675d75f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 25 May 2021 13:53:40 +0200 Subject: get-hosts: Enable PCRE Signed-off-by: Florian Pritz --- get-hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-hosts b/get-hosts index 78d9c31..e006222 100755 --- a/get-hosts +++ b/get-hosts @@ -4,4 +4,4 @@ cut -d\ -f1 ~/.ssh/known_hosts ~/.ssh/known_hosts_work | tr , "\n" \ | sed -r 's#(_ecdsa|_rsa|_ed25519|_dsa)$##' | sort -u \ - | grep "$@" + | grep -P "$@" -- cgit v1.2.3-24-g4f1b