diff options
author | Guillermo Ramos | 2023-03-23 15:24:24 +0100 |
---|---|---|
committer | Guillermo Ramos | 2023-03-23 15:24:24 +0100 |
commit | 67f87965bb5cc77d1025d9db60ac86fac2f9b169 (patch) | |
tree | 1fc31bf73469b10d1d020ef656082ef823fb82d6 | |
parent | 9bee881c089ffb6c32c8d686dbfdbdcda47384d4 (diff) | |
download | cli-67f87965bb5cc77d1025d9db60ac86fac2f9b169.tar.gz |
ssf: egrep -> grep -E
-rwxr-xr-x | ssf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 `; |