I'm responding to your message archived in:
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001935.html>:
From: Arnold Troeger <address@hidden>
Date: Fri, 29 Nov 2002 17:11:15 +0700
calc.at:462: wc -l <stderr | sed 's/[^0-9]//g'
--- - Fri Nov 29 04:04:46 2002
+++ /u76/gnu/src/bison-1.75/IRIX6_mips/tests/testsuite.dir/at-stdout Fri Nov
29 04:04:46 2002
@@ -1,2 +1,2 @@
-486
+369
That output is strange, since your bug report contains a copy of
stderr, and that copy does have 486 lines in it; and yet apparently
your "wc" program reported only 369 lines.
So, I suspect that your "wc -l" program is broken. Can you please
test my theory by running the following shell commands?
cd tests
./testsuite -v 59 60
for file in testsuite.dir/*/stderr
do
echo $file
wc -l <$file
grep -c '^' <$file
done
I'm using "grep -c" to double-check the line counts produced by "wc".
If you can think of another reliable way to count the number of lines
in each stderr file, please do that too.