* Copyright
(c
) 1987 The Regents of the University of California.
* %sccs.include.redist.c
%
* @
(#)MAKEHOSTS.sh 5.3 (Berkeley) %G%
# address search pattern to recognize local hosts
# awk pattern for uninteresting (eg, long form) alias
SKIP
='/^ucb|\.berkeley\.edu$|^$/'
# Special entries that don't get generated normally
rm -rf TMP_HOSTS hosts.bak
for i
in `egrep "$LOCALADDR" ${DESTDIR}/etc/hosts | awk "\\$2 !~ $SKIP {print \\$2} \\$3 !~ $SKIP {print \\$3} \\$4 !~ $SKIP {print \\$4}"`; do