diff options
author | Norbert Preining <norbert@preining.info> | 2023-10-11 03:02:59 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-10-11 03:02:59 +0000 |
commit | 366cf31a771ded1f10860be3212058d48020398d (patch) | |
tree | 99ee483a9fd05dfd4ec908582abb44028bdffbd1 /macros/latex/contrib/l3experimental/l3sys-shell.dtx | |
parent | 48eedda2cb4d2644886b862409b24a1d8e9a136f (diff) |
CTAN sync 202310110302
Diffstat (limited to 'macros/latex/contrib/l3experimental/l3sys-shell.dtx')
-rw-r--r-- | macros/latex/contrib/l3experimental/l3sys-shell.dtx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/macros/latex/contrib/l3experimental/l3sys-shell.dtx b/macros/latex/contrib/l3experimental/l3sys-shell.dtx index dfc2fb188a..0cc622dbbb 100644 --- a/macros/latex/contrib/l3experimental/l3sys-shell.dtx +++ b/macros/latex/contrib/l3experimental/l3sys-shell.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Released 2023-05-11} +% \date{Released 2023-10-10} % % \maketitle % @@ -151,7 +151,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3sys-shell}{2023-05-11}{} +\ProvidesExplPackage{l3sys-shell}{2023-10-10}{} {L3 Experimental system shell functions} % \end{macrocode} % @@ -213,11 +213,11 @@ % Simple Unix-like file copying: at some stage we may need a directory-only % version as Windows and Unix have different requirements here. % \begin{macrocode} -\cs_new_protected:Npx \sys_shell_cp:nn #1#2 +\cs_new_protected:Npe \sys_shell_cp:nn #1#2 { \sys_if_shell_unrestricted:T { - \sys_shell_now:x + \sys_shell_now:e { \sys_if_platform_unix:T { @@ -240,11 +240,11 @@ % issues a warning if the directory already exists: avoid by including a % test. % \begin{macrocode} -\cs_new_protected:Npx \sys_shell_mkdir:n #1 +\cs_new_protected:Npe \sys_shell_mkdir:n #1 { \sys_if_shell_unrestricted:T { - \sys_shell_now:x + \sys_shell_now:e { \sys_if_platform_unix:T { mkdir~-p~ \exp_not:N \tl_to_str:n {#1} } @@ -264,11 +264,11 @@ % On Windows we do not have a single |mv| operation, so copy-and-delete % instead. % \begin{macrocode} -\cs_new_protected:Npx \sys_shell_mv:nn #1#2 +\cs_new_protected:Npe \sys_shell_mv:nn #1#2 { \sys_if_shell_unrestricted:T { - \sys_shell_now:x + \sys_shell_now:e { \sys_if_platform_unix:T { @@ -291,11 +291,11 @@ % \begin{macro}{\sys_shell_rm:n} % Deletion: obviously a big health warning here! % \begin{macrocode} -\cs_new_protected:Npx \sys_shell_rm:n #1 +\cs_new_protected:Npe \sys_shell_rm:n #1 { \sys_if_shell_unrestricted:T { - \sys_shell_now:x + \sys_shell_now:e { \sys_if_platform_unix:T { rm~-f~ \exp_not:N \tl_to_str:n {#1} } @@ -311,12 +311,12 @@ % When removing a directory, we create it first as that avoids errors in % the Windows case. % \begin{macrocode} -\cs_new_protected:Npx \sys_shell_rmdir:n #1 +\cs_new_protected:Npe \sys_shell_rmdir:n #1 { \sys_if_shell_unrestricted:T { \sys_shell_mkdir:n {#1} - \sys_shell_now:x + \sys_shell_now:e { \sys_if_platform_unix:T { rm~-rf~ \exp_not:N \tl_to_str:n {#1} } @@ -341,7 +341,7 @@ % that does not require shell escape. However, it's hard to see how it might % be useful without the other file functions.) % \begin{macrocode} -\cs_new_protected:Npx \sys_get_shell_pwd:N #1 +\cs_new_protected:Npe \sys_get_shell_pwd:N #1 { \sys_if_shell_unrestricted:T { @@ -371,7 +371,7 @@ % just a case of tidying up. The listing always ends in |^^M| so there is an % extra entry to trim. % \begin{macrocode} -\cs_new_protected:Npx \sys_shell_split_ls:nN #1#2 +\cs_new_protected:Npe \sys_shell_split_ls:nN #1#2 { \sys_if_shell_unrestricted:T { |