[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

portability of dirname and ${var%x*}

From: Stepan Kasal
Subject: portability of dirname and ${var%x*}
Date: Wed, 26 Jan 2005 17:37:38 +0100
User-agent: Mutt/1.4.1i


I'd like to ask someone more knowledgable to improve two things
in the autoconf manual.

1) dirname
The autoconf manual says that not all hosts have working dirname.
Could you please name some OS version?
Are these systems still in use?
Otherwise, the manual and m4sh.m4 comment should say that AS_DIRNAME
is still here, but it should not be necessary any more.

2) Can I use something like ${0%/*} or ${pathname%%*/} ?
These variable expansions are required by POSIX.
I was told that Solaris /bin/sh doesn't honor them.
Shouldn't the manual contain a section about them?

Have a nice day,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]