summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2021-05-25 13:53:40 +0200
committerFlorian Pritz <bluewind@xinu.at>2021-05-25 13:54:08 +0200
commit7640bdabea87fd1d2fcb18db165c7382e675d75f (patch)
treedb0a730794380664be113f148804cbae10c20598
parent61f47e3366ef2e9f9f61906839dbd854884df9e0 (diff)
downloadbin-7640bdabea87fd1d2fcb18db165c7382e675d75f.tar.gz
bin-7640bdabea87fd1d2fcb18db165c7382e675d75f.tar.xz
get-hosts: Enable PCRE
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xget-hosts2
1 files changed, 1 insertions, 1 deletions
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 "$@"