autoconf-patches
[Top][All Lists]
Advanced

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

Re: document AS_BASENAME


From: Stepan Kasal
Subject: Re: document AS_BASENAME
Date: Fri, 31 Mar 2006 15:53:21 +0200
User-agent: Mutt/1.4.1i

Hello,

On Thu, Mar 30, 2006 at 10:12:35PM -0800, Paul Eggert wrote:
> Thanks, I installed the following, which I hope addresses all the
> issues that you and others raised.

actually there are two details:

1) I thought that

        file=/one/two/three
        file=`AS_BASENAME(["$file"])`  # sets file to three

is slightly better because it shows that the user should add shell quotes,
no shell quoting is added by AS_BASENAME.
Likewise for AS_DIRNAME.
Bit if you don't like the ``long'' example, we can let this be.

2) The reference

        @xref{Limitations of Usual Tools}, for why this is
        more portable than @command{file=`dirname /one/two/three`}.

doesn't point to any portablity details, just that
        ``Not all hosts have a working dirname.''

Would you mind if I deleted this cross reference?

Have a ncie day,
        Stepan




reply via email to

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