[latex3-commits] [git/LaTeX3-latex3-latex3] master: Add \endline = -1 to pwd grabbing (fixes #613) (651221c98)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Aug 21 14:17:21 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/651221c98ec38016295a7a5b44d3744340f11d5a

>---------------------------------------------------------------

commit 651221c98ec38016295a7a5b44d3744340f11d5a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Aug 21 13:17:21 2019 +0100

    Add \endline = -1 to pwd grabbing (fixes #613)


>---------------------------------------------------------------

651221c98ec38016295a7a5b44d3744340f11d5a
 l3experimental/CHANGELOG.md                | 1 +
 l3experimental/l3sys-shell/l3sys-shell.dtx | 1 +
 2 files changed, 2 insertions(+)

diff --git a/l3experimental/CHANGELOG.md b/l3experimental/CHANGELOG.md
index 5fbaccf3f..7599b3755 100644
--- a/l3experimental/CHANGELOG.md
+++ b/l3experimental/CHANGELOG.md
@@ -11,6 +11,7 @@ this project uses date-based 'snapshot' version identifiers.
 
 - `\draw_unit_vector:n` returns a vertical vector when the length is
   zero (see #609)
+- Collect `pwd` data with no `\endlinechar` (see #613)
 
 ### Fixed
 
diff --git a/l3experimental/l3sys-shell/l3sys-shell.dtx b/l3experimental/l3sys-shell/l3sys-shell.dtx
index da41be80f..24ea33dee 100644
--- a/l3experimental/l3sys-shell/l3sys-shell.dtx
+++ b/l3experimental/l3sys-shell/l3sys-shell.dtx
@@ -321,6 +321,7 @@
             \char_set_catcode_other:N \exp_not:N \~
             \char_set_catcode_other:N \exp_not:N \%
             \char_set_catcode_space:N \exp_not:N \ %
+            \tex_endlinechar:D -1 \scan_stop:
           }
         \exp_not:N \l_@@_tmp_tl
         \str_set:NV #1 \exp_not:N \l_@@_tmp_tl





More information about the latex3-commits mailing list