[gnus git] branch master updated: m0-13-74-ga360cbd =1= gnus-faq.texi: Minor backslash fix

Katsumi Yamaoka <[email protected]> Thu, 17 Sep 2015 02:18:16 +0200
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  a360cbd4b1b3d5b288420075336a28e5521ca992 (commit)
      from  90f7e57cdbebca17652f43459b3f5dfbfb26d7fa (commit)


- Log -----------------------------------------------------------------
commit a360cbd4b1b3d5b288420075336a28e5521ca992
Author: Paul Eggert <[email protected]>
Date:   Thu Sep 17 00:17:47 2015 +0000

    gnus-faq.texi: Minor backslash fix
    
    * gnus-faq.texi (FAQ 5-8):
    Avoid undefined behavior in suggested sed backslash usage.

diff --git a/texi/ChangeLog b/texi/ChangeLog
index 1b170dc..8ed86dd 100644
--- a/texi/ChangeLog
+++ b/texi/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-16  Paul Eggert  <[email protected]>
+
+	* gnus-faq.texi (FAQ 5-8):
+	Avoid undefined behavior in suggested sed backslash usage.
+
 2015-09-08  Paul Eggert  <[email protected]>
 
 	* gnus-faq.texi (FAQ 5-13, FAQ 6-2):
diff --git a/texi/gnus-faq.texi b/texi/gnus-faq.texi
index 19c78bf..26b9210 100644
--- a/texi/gnus-faq.texi
+++ b/texi/gnus-faq.texi
@@ -1528,7 +1528,7 @@ and create the actual X-face by saying
 
 @example
 cat file.xbm | xbm2ikon | compface > file.face
-cat file.face | sed 's/\\/\\\\/g;s/\"/\\\"/g;' > file.face.quoted
+cat file.face | sed 's/["\\]/\\&/g' > file.face.quoted
 @end example
 @noindent
 

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 texi/ChangeLog     |    5 +++++
 texi/gnus-faq.texi |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project