head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	94.03.27.12.21.08;	author aoki;	state Exp;
branches;
next	1.3;

1.3
date	94.03.27.09.31.51;	author aoki;	state Exp;
branches;
next	1.2;

1.2
date	94.03.10.21.40.17;	author marc;	state Exp;
branches;
next	1.1;

1.1
date	93.09.28.00.09.34;	author marc;	state Exp;
branches;
next	;


desc
@simple hack to weed out cruft from diffing sample.regress.out and regress.out
@


1.4
log
@more numeric, cross-platform stuff
@
text
@[ -z "$MAKEOBJDIR" ] && MAKEOBJDIR=obj
HERE=`pwd | sed 's%.*/%%'`
SAMPLE=/tmp/sample$$
ACTUAL=/tmp/actual$$
sed \
-e 's/(null)/      /g' \
-e 's/WARN:... .. ..:..:..:/WARN:/' \
-e 's/NOTICE:... .. ..:..:..:/NOTICE:/' \
-e 's/HERE=.*/HERE=/' \
-e 's/.* -> //' \
-e 's%"/.*/%"%g' \
-e 's/ -0 / 0  /g' \
-e 's/-1e-39/0     /g' \
-e 's/1e-39/0    /g' \
-e 's/1\.79769313486232e\+308/Infinity    /g' \
-e '/ a,[0-9]+ /d' \
-e '/RCS/d' \
-e '/,v$/d' \
-e '/^so_locations$/d' \
-e '/[a-zA-Z0-9]\.sl$/d' \
-e '/[a-zA-Z0-9]\.so$/d' \
-e '/[a-zA-Z0-9]\.exp$/d' \
-e '/^$/d' \
sample.$HERE.out > $SAMPLE
sed \
-e 's/(null)/      /g' \
-e 's/WARN:... .. ..:..:..:/WARN:/' \
-e 's/NOTICE:... .. ..:..:..:/NOTICE:/' \
-e 's/HERE=.*/HERE=/' \
-e 's/.* -> //' \
-e 's%"/.*/%"%g' \
-e 's/ -0 / 0  /g' \
-e 's/-1e-39/0     /g' \
-e 's/1e-39/0    /g' \
-e 's/1\.79769313486232e\+308/Infinity    /g' \
-e '/ a,[0-9]+ /d' \
-e '/RCS/d' \
-e '/,v$/d' \
-e '/^so_locations$/d' \
-e '/[a-zA-Z0-9]\.sl$/d' \
-e '/[a-zA-Z0-9]\.so$/d' \
-e '/[a-zA-Z0-9]\.exp$/d' \
-e '/^$/d' \
$MAKEOBJDIR/$HERE.out > $ACTUAL
diff $SAMPLE $ACTUAL | \
egrep -v '( APPEND|Header:|Query sent|forked|^[0-9]|---)'
rm -f $SAMPLE $ACTUAL
@


1.3
log
@cross-platform stuff
@
text
@d12 1
d14 1
d22 1
d32 1
d34 1
d42 1
@


1.2
log
@default MAKEOBJDIR to "obj"
@
text
@a0 5
:
#
# hack to weed out most of the cruft from diffing 
# sample.regress.out with obj/regress.out
#
d12 8
d29 8
@


1.1
log
@Initial revision
@
text
@d6 1
@
