Print this page
XXX Remove nawk(1)
*** 22,32 ****
#
#
# Copyright 1993-2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
- #ident "%Z%%M% %I% %E% SMI"
opts=""
while getopts guplmsLv arg
do
if [ "$arg" = "?" ]; then
--- 22,31 ----
*** 47,57 ****
differ="$1"; shift
errlog=/tmp/protocmp.err.$$
protocmp $opts "$@" 2>$errlog |
! nawk -v old="$old" -v new="$new" -v differ="$differ" '
/^\**$/ {
next;
}
/^\* Entries/ {
category++;
--- 46,56 ----
differ="$1"; shift
errlog=/tmp/protocmp.err.$$
protocmp $opts "$@" 2>$errlog |
! /usr/xpg4/bin/awk -v old="$old" -v new="$new" -v differ="$differ" '
/^\**$/ {
next;
}
/^\* Entries/ {
category++;