Lines Matching refs:hn
711 awk -v dn="$dp" -v ip4="$cp" -v ip6="$c6p" -v hn="$hp" '
715 h = ( match(hn, /\./) ? substr(hn, 0, RSTART-1) : "" )
724 if ( $n == hn ) hn4found = 1
725 if ( $n == hn "." ) hn4found = 1
729 if ( $n == hn ) hn6found = 1
730 if ( $n == hn "." ) hn6found = 1
746 printf "%s\t%s %s\n", ip6, hn, h >> hosts
747 printf "%s\t%s.\n", ip6, hn >> hosts
754 printf "%s\t%s\n", ip6, hn >> hosts
759 printf "%s\t\t%s %s\n", ip4, hn, h >> hosts
760 printf "%s\t\t%s.\n", ip4, hn >> hosts
767 printf "%s\t\t%s\n", ip4, hn >> hosts