Re: Adding bdir() function

Bram Moolenaar <[email protected]> Fri, 25 Nov 2005 17:40:22 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Adriaan de Groot wrote:

> [Now with docs and better code formatting.]
>=20
> The attached patch implements a bdir() function which prepends $BDIR if=
=20
> necessary to a filename. Optionally, the attributes of the filename are=
=20
> stripped, which is needed if the filename is to be used in a shell comm=
and.
>=20
> bdir() is used (quite a bit) in the updates to the Qt and KDE modules
> I'll be posting shortly.

This looks better, thanks.  I'll include it now.

--=20
hundred-and-one symptoms of being an internet addict:
208. Your goals for the future are obtaining an T1 connection and
     a 130 gig hard drive.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \=
\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ =
\\\
\\\        download, build and distribute -- http://www.A-A-P.org        =
///
 \\\            help me help AIDS victims -- http://www.ICCF.nl         /=
//


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick