This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] tail -1 usage
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: Olaf Hering <olh at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Jun 2003 13:09:12 +0200 (CEST)
- Subject: Re: [PATCH] tail -1 usage
- References: <20030629173043.GA17656@suse.de>
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/