From 7beb8b3889e6e87f0febc1d2117b0c7380a22339 Mon Sep 17 00:00:00 2001 From: Zoran Dzelajlija Date: Wed, 1 Nov 2006 16:24:13 +0000 Subject: [PATCH] r2: awk -F. -- no need for -F'\.' --- src/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.sh b/src/functions.sh index b67aaab..a3b80f8 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -113,7 +113,7 @@ get_domain() { cp_echo "CN: no host command... \$mydomain value might be unoptimal." return fi - domains=$(hostname -f | awk -F'\.' ' + domains=$(hostname -f | awk -F. ' { for (i=2; i