Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2002 19:18:06 GMT
From:      Mark Valentine <mark@thuvia.demon.co.uk>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/bin/expr expr.1 expr.y src/include unistd.h src/lib/libc/gen Makefile.inc check_utility_compat.3 check_utility_compat.c
Message-ID:  <200210281918.g9SJI6TU072622@dotar.thuvia.org>
In-Reply-To: <200210281854.g9SIsXZ5041577@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Garrett Wollman <wollman@lcs.mit.edu>
> Date: Mon 28 Oct, 2002
> Subject: Re: cvs commit: src/bin/expr expr.1 expr.y src/include unistd.h src/lib/libc/gen Makefile.inc check_utility_compat.3 check_utility_compat.c

> The only thing that's proven about the Solaris implementation is that
> nobody actually uses it, and so people keep on writing scripts which
> *require* pre-POSIX behavior rather than writing scripts which are
> compatible with both.

It is sometimes *necessary* to use pre-POSIX behaviour to gain maximum
portability.  I have a POSIX reference at my fingertips whenever I cut
code, and if I need to grub around for /usr/xpg4/bin/grep or whatever,
I will, but in the end I use what works on most systems.

It is true that far too few people care about writing portable scripts,
but I don't think gratuitously breaking their legacy scripts is the proper
way to educate them.

		Cheers,

		Mark.

-- 
Mark Valentine, Thuvia Labs <mark@thuvia.co.uk>       <http://www.thuvia.co.uk>;
"Tigers will do ANYTHING for a tuna fish sandwich."       Mark Valentine uses
"We're kind of stupid that way."   *munch* *munch*        and endorses FreeBSD
  -- <http://www.calvinandhobbes.com>;                  <http://www.freebsd.org>;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210281918.g9SJI6TU072622>