<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-guide.

</pre>
<p><a href="https://github.com/macports/macports-guide/commit/70c72119756c8f4d426b0d56a75f2c3f57cddaa2">https://github.com/macports/macports-guide/commit/70c72119756c8f4d426b0d56a75f2c3f57cddaa2</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 70c7211  Modify reinplace term definiton to make optional files arg more clear
</span>70c7211 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 70c72119756c8f4d426b0d56a75f2c3f57cddaa2
</span>Author: Jason Liu <jasonliu--@users.noreply.github.com>
AuthorDate: Tue Jan 4 13:34:18 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    Modify reinplace term definiton to make optional files arg more clear
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Before I saw it being used that way in someone else's Portfile, I had no idea that 'reinplace' is able to execute the regular expression on multiple files, because my eyes had completely ignored the "..." at the end of the term definition in the documentation. This commit makes it more clear that "..." means "additional files".
</span>---
 guide/adoc/portfile-tcl.adoc | 4 ++--
 guide/xml/portfile-tcl.xml   | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfile-tcl.adoc b/guide/adoc/portfile-tcl.adoc
</span><span style='display:block; white-space:pre;color:#808080;'>index 8ff896e..7f20301 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfile-tcl.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/adoc/portfile-tcl.adoc
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -103,7 +103,7 @@ strsed `+string+` g/``+regex+``/``+replacement+``/ ::
</span> The same as the previous format, except all instances of the pattern will be replaced, not only the first (mnemonic: 'g' is for global).
 reinplace::
 Allows text specified by a regular expression to be replaced by new text, in-place (the file will be updated itself, no need to place output into a new file and rename).
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace [-locale ``+locale+``] [-n] [-W ``+dir+``] [--] `+command+```+file ...+``::
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace [-locale ``+locale+``] [-n] [-W ``+dir+``] [--] `+command+```+file [``+file2 ...+``]::
</span> Replace text given by the regular expression portion of the command with the replacement text, in all files specified.
 +
 Use -locale to set the locale.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -166,4 +166,4 @@ adduser foo gxml:id=[existsgroup foo]
</span> nextgid::
 Returns the highest used gid plus one.
 External program execution::
<span style='display:block; white-space:pre;background:#ffe0e0;'>-Use only when ....
</span>\ No newline at end of file
<span style='display:block; white-space:pre;background:#e0ffe0;'>+Use only when ....
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/xml/portfile-tcl.xml b/guide/xml/portfile-tcl.xml
</span><span style='display:block; white-space:pre;color:#808080;'>index ed7a6f5..8637b47 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/xml/portfile-tcl.xml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/xml/portfile-tcl.xml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -278,7 +278,8 @@
</span>               [-n]
               [-W <replaceable>dir</replaceable>]
               [--] <replaceable>command</replaceable>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-              <replaceable>file ...</replaceable>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+              <replaceable>file</replaceable>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+              [<replaceable>file2 ...</replaceable>]
</span>             </term>
 
             <listitem>
</pre><pre style='margin:0'>

</pre>