[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: POSIX patches

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-04-24 08:35:37 CEST

On Wed, 2003-04-23 at 12:07, Olaf Hering wrote:
> nectarine:/ # head -1 /etc/profile
> head: `-1' option is obsolete; use `-n 1'
> Try `head --help' for more information.

Looking at the coreutils source, this seems to be dependent on some
determination of the POSIX.2 version. If I simply download the
coreutils 5.0 source and configure and build it, "head -1" works fine.
(As long as I don't define a _POSIX2_VERSION environment variable.)

Regardless, breaking this feature seems like a tremendously bad idea,
even worse than what glibc has done to errno lately.

> We can do it without head and tail.

That's more elegant anyway, so I'm +1 on it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 24 08:36:23 2003

This is an archived mail posted to the Subversion Dev mailing list.