- Subject: Re: Problem with path_basename()
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Sun, 4 Apr 2004 11:19:40 -0400
Martin Klaiber <martinkl@xxxxxxxxxxxxxxxxxx> wrote:
>So, path_basename("Makefile") and path_basename("Makefile.foo") should
>give the same results. Actually the extension is not stripped, does
>someone know why?
The function strips the directory component, not the extension. You
may want:
path_basename (path_sans_extname ("Makefile.foo"))
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2004 date index]
[2004 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]