From 67f87965bb5cc77d1025d9db60ac86fac2f9b169 Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Thu, 23 Mar 2023 15:24:24 +0100 Subject: ssf: egrep -> grep -E --- ssf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssf') diff --git a/ssf b/ssf index 5ce0120..f87cd09 100755 --- a/ssf +++ b/ssf @@ -30,7 +30,7 @@ $egrep_regex =~ s/\./\\./g; $egrep_regex =~ s/\*/.*/g; my $known_hosts = ` - egrep '$egrep_regex' ~/.ssh/known_hosts | + grep -E '$egrep_regex' ~/.ssh/known_hosts | cut -f1 -d" " | sort -u `; -- cgit v1.2.3