This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Warning in contrib/test_summary
On Apr 11, 2004, at 13:10, Serge Belyshev wrote:
No this is not correct as some hosts do not support 'tail -n 1',
complain to the coreutils
people not to put this warning and not remove the option to call with
'tail -1'.
They do not remove anything. According to POSIX 1003.1-2001 such usage
of 'tail'
is not allowed. But coreutils supports older versions of POSIX, so if
you really
want to use 'tail -1' or 'head -1' set _POSIX2_VERSION=199209 in
environment.
So Scott's change is perfectly correct. (And somebody should fix
broken hosts).
This was already discussed before:
<http://gcc.gnu.org/ml/gcc/2003-08/msg01560.html>.
Thanks,
Andrew Pinski