Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 1998 23:35:23 -0700
From:      John Polstra <jdp@polstra.com>
To:        markm@FreeBSD.ORG
Cc:        committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/gnu/usr.bin/perl Makefile.inc
Message-ID:  <199810120635.XAA26486@austin.polstra.com>
In-Reply-To: <199810120600.XAA25464@freefall.freebsd.org>
References:  <199810120600.XAA25464@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> markm       1998/10/11 23:00:31 PDT
> 
>   Modified files:
>     gnu/usr.bin/perl     Makefile.inc 
>   Log:
>   Damn - dirname(1) is not available this early. Work-around.

FWIW, you can get the same effect in the shell with "${foo%/*}":

    vashon$ sh
    $ foo=/usr/src/gnu/usr.bin/Makefile
    $ echo ${foo%/*}
    /usr/src/gnu/usr.bin

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810120635.XAA26486>