summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "$@"