[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: document AS_BASENAME
From: |
Paul Eggert |
Subject: |
Re: document AS_BASENAME |
Date: |
Wed, 05 Apr 2006 01:08:54 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Stepan Kasal <address@hidden> writes:
> Attached please find the updated patch. But let's hold this back after 2.60.
I agree that we should hold this back.
A better approach, I think, is to define a new macro
AS_SET_BASENAME(var, val) that sets VAR to the basename of VAL. This
macro can use shell substitution if available, e.g. "var=${var##*/}".
This should be much faster since it avoids a fork.