[latex3-commits] [l3svn] branch master updated: l3build: Document dirname() and splitpath() [ci skip]
noreply at latex-project.org
noreply at latex-project.org
Sun Jun 25 09:35:17 CEST 2017
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
The following commit(s) were added to refs/heads/master by this push:
new 4a9e56c l3build: Document dirname() and splitpath() [ci skip]
4a9e56c is described below
commit 4a9e56c05e1d5245a55bb3aa49e67d8876ed8be0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sun Jun 25 08:34:37 2017 +0100
l3build: Document dirname() and splitpath() [ci skip]
---
l3build/l3build.dtx | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/l3build/l3build.dtx b/l3build/l3build.dtx
index f63e7e5..1442ca9 100644
--- a/l3build/l3build.dtx
+++ b/l3build/l3build.dtx
@@ -1161,11 +1161,20 @@
% \meta{target} directory.
% \end{function}
%
+% \begin{function}{dirname()}
+% \begin{syntax}
+% |dirname(|\meta{file}|)|
+% \end{syntax}
+% Returns a string comprising the path to a \meta{file} with the name removed
+% (\emph{i.e.}~up to the last |/|). Where the \meta{file} has no path data,
+% |"."| is returned.
+% \end{function}
+%
% \begin{function}{basename()}
% \begin{syntax}
% |basename(|\meta{file}|)|
% \end{syntax}
-% Returns a string comprising the full name of the file with the
+% Returns a string comprising the full name of the \meta{file} with the
% path removed (\emph{i.e.}~from the last |/| onward).
% \end{function}
%
@@ -1247,6 +1256,14 @@
% error level.
% \end{function}
%
+% \begin{function}{spltpath()}
+% \begin{syntax}
+% |splitpath(|\meta{file}|)|
+% \end{syntax}
+% Returns two strings split at the last |/|: the \texttt{dirname()} and
+% the |basename()|.
+% \end{function}
+%
% \begin{function}{unix_to_win()}
% \begin{syntax}
% |unix_to_win(|\meta{path}|)|
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list