[latex3-commits] [git/LaTeX3-latex3-l3build] master: Dcument replacement for os_yes (5225c3d)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Feb 21 11:42:05 CET 2020
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/5225c3d967044d4350208680b58ba9d99285328d
>---------------------------------------------------------------
commit 5225c3d967044d4350208680b58ba9d99285328d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Feb 21 10:41:46 2020 +0000
Dcument replacement for os_yes
>---------------------------------------------------------------
5225c3d967044d4350208680b58ba9d99285328d
l3build.dtx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/l3build.dtx b/l3build.dtx
index 5de2ea6..926d460 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -1777,9 +1777,14 @@
%
% \begin{variable}{os_yes}
% \textbf{DEPRECATED}
-% A command to generate a series of $200$ lines each containing the
+% A command to generate a series of $300$ lines each containing the
% character |y|: this is useful as the Unix |yes| command cannot be
% used inside |os.execute| (it does not terminate).
+%
+% Rather than use this function, we recommend the replacement construct
+% \begin{verbatim}
+% io.popen(<cmd>,"w"):write(string.rep("y\n", 300)):close()
+% \end{verbatim}
% \end{variable}
%
% \subsection{Components of \texttt{l3build}}
More information about the latex3-commits
mailing list.