From bb24aab36b14425d5408e5c0c889c83a70cc7a5a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 19 May 2020 03:03:34 +0000 Subject: CTAN sync 202005190303 --- .../latex/contrib/l3experimental/l3sys-shell.dtx | 39 +++++++++++++++++----- 1 file changed, 30 insertions(+), 9 deletions(-) (limited to 'macros/latex/contrib/l3experimental/l3sys-shell.dtx') diff --git a/macros/latex/contrib/l3experimental/l3sys-shell.dtx b/macros/latex/contrib/l3experimental/l3sys-shell.dtx index c166811e11..52cfcd634a 100644 --- a/macros/latex/contrib/l3experimental/l3sys-shell.dtx +++ b/macros/latex/contrib/l3experimental/l3sys-shell.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Released 2020-01-12} +% \date{Released 2020-05-18} % % \maketitle % @@ -67,7 +67,7 @@ % \begin{syntax} % \cs{sys_shell_mkdir:n} \Arg{directory} % \end{syntax} -% Creates the \meta{directory}, which should should be specified using |/| as +% Creates the \meta{directory}, which should be specified using |/| as % a path separator. If unrestricted shell escape is not enabled, no action is % attempted. % \end{function} @@ -95,7 +95,7 @@ % \begin{syntax} % \cs{sys_shell_rmdir:n} \Arg{directory} % \end{syntax} -% Removes the \meta{directory}, which should should be specified using |/| as +% Removes the \meta{directory}, which should be specified using |/| as % a path separator. If unrestricted shell escape is not enabled, no action is % attempted. % \end{function} @@ -136,11 +136,32 @@ % % \begin{macrocode} %<*package> -\ProvidesExplPackage{l3sys-shell}{2020-01-12}{} +\ProvidesExplPackage{l3sys-shell}{2020-05-18}{} {L3 Experimental system shell functions} % % \end{macrocode} % +% \begin{variable}{\s_@@_stop} +% Internal scan marks. +% \begin{macrocode} +\scan_new:N \s_@@_stop +% \end{macrocode} +% \end{variable} +% +% \begin{variable}{\q_@@_nil} +% Internal quarks. +% \begin{macrocode} +\quark_new:N \q_@@_nil +% \end{macrocode} +% \end{variable} +% +% \begin{macro}[pTF]{\@@_quark_if_nil:n} +% Branching quark conditional. +% \begin{macrocode} +\__kernel_quark_new_conditional:Nn \@@_quark_if_nil:N { F } +% \end{macrocode} +% \end{macro} +% % \begin{macro}[EXP]{\@@_path_to_win:n} % \begin{macro}[EXP]{\@@_path_to_win:w} % \begin{macro}[EXP]{\@@_path_to_win:N} @@ -148,20 +169,20 @@ % \begin{macrocode} \cs_new:Npn \@@_path_to_win:n #1 { - \exp_after:wN \@@_path_to_win:w \tl_to_str:n {#1} ~ \q_stop + \exp_after:wN \@@_path_to_win:w \tl_to_str:n {#1} ~ \s_@@_stop } -\cs_new:Npn \@@_path_to_win:w #1 ~ #2 \q_stop +\cs_new:Npn \@@_path_to_win:w #1 ~ #2 \s_@@_stop { - \@@_path_to_win:N #1 \q_nil + \@@_path_to_win:N #1 \q_@@_nil \tl_if_empty:nF {#2} { \c_space_tl - \@@_path_to_win:w #2 \q_stop + \@@_path_to_win:w #2 \s_@@_stop } } \cs_new:Npn \@@_path_to_win:N #1 { - \quark_if_nil:NF #1 + \@@_quark_if_nil:NF #1 { \token_if_eq_meaning:NNTF #1 / { \c_backslash_str } -- cgit v1.2.3