On 12/19/07, Jörn Nettingsmeier <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > On 12/11/07, Thorsten Scherler <[EMAIL PROTECTED]> wrote: > >> On Thu, 2007-11-29 at 12:08 +0000, [EMAIL PROTECTED] wrote: > > In English, > > 1. Get the path used to reach the current executable. > > 2. Change directory using the result of #1. This is relative to the > > current directory. The current directory (PWD) is the directory from > > which the command is called. > > 3. Get the absolute current path. This removes dots and symbolic links. > > > > This code works on every *nix except SunOS. SunOS uses the original > > 1977 shell, which did not have good string manipulation. sh and awk > > were the two required programs for Unix. String manipulation > > required using awk. > > apache are really running a SunOS server without gnutools installed? > wow. is it masochism, or the fear of the dreaded GPL? >:-> > > i wonder: aren't dirname and basename posix? or gnuisms as well? > Jörn Nettingsmeier
Not GNU. dirname started in Unix System III. 4.3 BSD and earlier versions did not include dirname. dirname was added to POSIX-2 (1992). I closed the bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=43748 Opened a new bugzilla for 2.0: http://issues.apache.org/bugzilla/show_bug.cgi?id=44115 solprovider --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
