From 263ffa377efd52a593b0cda799293e80bf3cd114 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Sat, 30 Jul 2022 17:18:27 -0600 Subject: [PATCH] dns numbers --- functions/dns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/dns.sh b/functions/dns.sh index c4316139..986f3d3e 100644 --- a/functions/dns.sh +++ b/functions/dns.sh @@ -22,6 +22,6 @@ do ixName=$(echo "$i" | awk '{print $1}') port=$(echo "$all_ports" | grep -E "\s$appName\s" | awk '{print $6}' | grep -Eo "^[[:digit:]]+{1}") echo -e "$appName.$ixName.svc.cluster.local $port" -done | uniq | nl -b t | sed 's/\s\s\s$/- -------- ----/' | column -t -R 1 -N "#,DNS_Name,Port" -L +done | uniq | nl -s ") " -b t | sed 's/\s\s\s$/- -------- ----/' | column -t -R 1 -N "#,DNS_Name,Port" -L } export -f dns \ No newline at end of file