This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix `tail' invocation in the Ada testsuite
The Ada testsuite invokes `tail' with "-1", which is not an option
allowed by the current revision of the POSIX standard and is therefore
expected to fail on systems that comply to it. For example this is the
case with the `tail' implementation included in GNU coreutils 5.2.1 if
built on a glibc 2.3.x system (for older configurations you can force
POSIX compliance by setting the "_POSIX2_VERSION" environment variable to
You can use sed -n '$p' for improved portability.