Re: Finding directory of a file

Rene Rivera via Boost-build <[email protected]> Fri, 6 Mar 2020 21:13:05 -0600
Newsgroups gmane.comp.lib.boost.build
Message-ID <CAHEh_Gi9GK+KYscP0SARNc-SrEZoxELpbwdPCfsk6KQnferV4w@mail.gmail.com>
--===============4546383275575023395==
Content-Type: multipart/alternative; boundary="000000000000b205c205a03b26b0"

--000000000000b205c205a03b26b0
Content-Type: text/plain; charset="UTF-8"

On Fri, Mar 6, 2020 at 8:56 PM Edward Diener via Boost-build <
[email protected]> wrote:

> Given a filename with no path, how can I find the directory of that
> file, starting my search from some specified directory, in Boost Build ?
>

Do you mean finding the full path if you have a relative path? It's hard to
answer this one without knowing what you mean by "file".


-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net

--000000000000b205c205a03b26b0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Fri, Mar 6, 2020 at 8:56 PM Edward Die=
ner via Boost-build &lt;<a href=3D"mailto:[email protected]">boos=
[email protected]</a>&gt; wrote:<br></div><div class=3D"gmail_quote">=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">Given a filename with no =
path, how can I find the directory of that <br>
file, starting my search from some specified directory, in Boost Build ?<br=
></blockquote><div><br></div><div>Do you mean finding the full path if you =
have a relative path? It&#39;s hard to answer this one without knowing what=
 you mean by &quot;file&quot;.<br></div><div><br clear=3D"all"></div></div>=
<br>-- <br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div=
><div dir=3D"ltr">-- Rene Rivera<br>-- Grafik - Don&#39;t Assume Anything<b=
r>-- Robot Dreams -=C2=A0<a href=3D"http://robot-dreams.net/" target=3D"_bl=
ank">http://robot-dreams.net</a><br><br></div></div></div></div></div>

--000000000000b205c205a03b26b0--

--===============4546383275575023395==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build

--===============4546383275575023395==--