[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac OS X 10.2 uses bash as /bin/sh
From: |
Paul Eggert |
Subject: |
Re: Mac OS X 10.2 uses bash as /bin/sh |
Date: |
Wed, 04 Jan 2006 14:30:24 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Stepan Kasal <address@hidden> writes:
> Is it worth it to commit the following patch?
Thanks. I committed the following slightly different one.
2006-01-04 Paul Eggert <address@hidden>
* doc/autoconf.texi: Update copyright (and other) dates to 2006.
* doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
shell from zsh to bash.
Index: autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.937
retrieving revision 1.939
diff -p -u -r1.937 -r1.939
--- autoconf.texi 29 Dec 2005 21:28:30 -0000 1.937
+++ autoconf.texi 4 Jan 2006 22:28:37 -0000 1.939
@@ -181,7 +181,7 @@ a package for creating scripts to config
templates and an M4 macro package.
Copyright @copyright{} 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@quotation
Permission is granted to copy, distribute and/or modify this document
@@ -9864,7 +9864,7 @@ its own. Similarly to Bash, you can det
running @command{pdksh} by testing whether @code{KSH_VERSION} is set,
and you can require Posix compatibility by running @samp{set
-o posix}. Unfortunately, with @command{pdksh} 5.2.14 (the latest
-stable version as of March 2005) Posix mode is buggy and causes
+stable version as of January 2006) Posix mode is buggy and causes
@command{pdksh} to depart from Posix in at least one respect:
@example
@@ -9889,7 +9889,8 @@ and for @command{zsh} versions before 3.
set @code{NULLCMD} to @samp{:}. @xref{Compatibility,, Compatibility,
zsh, The Z Shell Manual}, for details.
-Zsh 3.0.8 is the native @command{sh} on Mac OS X 10.0.3.
+The default Mac OS X @command{sh} was originally Zsh; it was changed to
+Bash in Mac OS X 10.2.
@end table
The following discussion between Russ Allbery and Robert Lipe is worth
@@ -11807,7 +11808,7 @@ the system calls that @command{cp} uses;
@command{cp} implementations use @code{utimes}, which has
1-microsecond resolution. These newer implementations include GNU
coreutils 5.0.91 or later, and Solaris 8 (sparc) patch 109933-02 or
-later. Unfortunately as of June 2005 there is still no system
+later. Unfortunately as of January 2006 there is still no system
call to set time stamps to the full nanosecond resolution.
Bob Proulx notes that @samp{cp -p} always @emph{tries} to copy