[PATCH] tail -1 usage
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Mon Jun 30 12:04:00 GMT 2003
On Sun, 29 Jun 2003, Olaf Hering wrote:
> The new gnu coreutils do not allow tail/head -1 anymore.
>
> There are a few more places, maybe it must be fixed/changed elsewhere.
>
> find -type f | grep -vw CVS | xargs grep -E '(tail|head)[[:blank:]]+-1'
If they really dropped support for that, I'd consider this a (silly)
bug, considering all the breakage it will cause to tons of scripts out
there and file a bug report with the maintainers.
Would you mind doing that, Cc:ing me?
> * contrib/test_summary: use tail -n 1
Unfortunately, this would break sparc-sun-solaris2.9's /usr/bin/tail
and probably quite a couple of other systems. :-(
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.pfeifer.com/gerald/
More information about the Gcc-patches
mailing list