[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6468] quote backslashes in `command substitution`
From: |
Gavin D. Smith |
Subject: |
[6468] quote backslashes in `command substitution` |
Date: |
Sat, 25 Jul 2015 21:55:49 +0000 |
Revision: 6468
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6468
Author: gavin
Date: 2015-07-25 21:55:45 +0000 (Sat, 25 Jul 2015)
Log Message:
-----------
quote backslashes in `command substitution`
Modified Paths:
--------------
trunk/tp/Texinfo/Convert/XSParagraph/configure.ac
Modified: trunk/tp/Texinfo/Convert/XSParagraph/configure.ac
===================================================================
--- trunk/tp/Texinfo/Convert/XSParagraph/configure.ac 2015-07-25 21:41:45 UTC
(rev 6467)
+++ trunk/tp/Texinfo/Convert/XSParagraph/configure.ac 2015-07-25 21:55:45 UTC
(rev 6468)
@@ -20,13 +20,13 @@
# be other \ sequences we want to process as well. This is
# the escape sequence for single-quoted strings in Perl.
conf_value=`echo $conf_value \
- | sed -e 's/^@<:@^=@:>@*= *//' \
- -e 's/^'\''//' \
- -e 's/ *; *$//' \
- -e 's/'\''$//' \
- -e 's/\\"/"/g' \
- -e 's/\\'\''/\'\''/g' \
- -e 's/\\\\/\\/g' `
+ | sed -e 's/^@<:@^=@:>@*= *//' \
+ -e 's/^'\\''//' \
+ -e 's/ *; *$//' \
+ -e 's/'\\''$//' \
+ -e 's/\\\\"/"/g' \
+ -e 's/\\\\'\\''/\\'\\''/g' \
+ -e 's/\\\\\\\\/\\\\/g' `
echo got "$conf_value"
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6468] quote backslashes in `command substitution`,
Gavin D. Smith <=