On Mon, Mar 24, 2003 at 05:02:16PM -0500, Dan Espen wrote:

> How about a bug report for the lack of posix compliance in /bin/sh?
> Or is it a compiler issue or popen?

/bin/sh (and all the other utilities in /bin) is not expected to be
posix compliant.  If you want posix compliance, you should be running
the versions in /usr/xpg4/bin instead, either directly, or by putting
that first in your $PATH.

There was a bug filed for exactly this about five years ago, which was
closed because it was presumed that too many scripts depend on the
particular behaviors of /bin/sh to make the transition worthwhile.  I
don't think there's any way to make this change and preserve
compatibility for everyone who expects it.

> Both my HP and AIX systems have no trouble with arithmetic in
> /bin/sh.  Solaris seems to be the odd man out.

/bin/sh on Solaris is a pretty sad program, and really (in my opinion,
not Sun's) shouldn't be used.  Either use ksh for interactive stuff and
personal scripts, or use the posix-flavored utilities in /usr/xpg4.
Which means that you'd have to parametrize the path to the shell with
configure, but you already do that for perl, so it's more of an
annoyance than a difficult problem.

Danek
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to