[144426] trunk/doc-new/guide/xml/portfile-tcl.xml

dstrubbe at macports.org dstrubbe at macports.org
Fri Jan 8 12:16:33 PST 2016


Revision: 144426
          https://trac.macports.org/changeset/144426
Author:   dstrubbe at macports.org
Date:     2016-01-08 12:16:33 -0800 (Fri, 08 Jan 2016)
Log Message:
-----------
doc-new: Add comments on locale in reinplace.

Modified Paths:
--------------
    trunk/doc-new/guide/xml/portfile-tcl.xml

Modified: trunk/doc-new/guide/xml/portfile-tcl.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-tcl.xml	2016-01-08 19:39:53 UTC (rev 144425)
+++ trunk/doc-new/guide/xml/portfile-tcl.xml	2016-01-08 20:16:33 UTC (rev 144426)
@@ -275,7 +275,9 @@
               the command with the replacement text, in all files
               specified.</para>
 
-              <para>Use -locale to set the locale</para>
+              <para>Use -locale to set the locale. For example, <code>locale -C</code>
+	      if a non-ASCII file is being modified (which may otherwise give the error
+	      "sed: RE error: illegal byte sequence").</para>
 
               <para>-n is passed to sed to suppress echoing result</para>
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160108/7199164c/attachment.html>


More information about the macports-changes mailing list