[Bug other/14251] Use POSIX-compatible flags for 'head' and 'tail'
jsm at polyomino dot org dot uk
gcc-bugzilla@gcc.gnu.org
Fri Apr 30 00:31:00 GMT 2004
------- Additional Comments From jsm at polyomino dot org dot uk 2004-04-29 23:29 -------
Subject: Re: Use POSIX-compatible flags for 'head' and 'tail'
On Thu, 29 Apr 2004, bangerth at dealii dot org wrote:
> Here is one such macro, whether 'head' accepts '-n'. I don't have
> an archaic system sitting around, so I can't test whether it also
> works for systems without support for -n :-(
Note that this isn't needed for head, which has portable replacements
sed q
sed 2q
sed 3q
etc. - it may be needed for tail though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14251
More information about the Gcc-bugs
mailing list