File: 04_aspell_quote.patch

package info (click to toggle)
ding 1.7-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 14,256 kB
  • sloc: tcl: 27,236; sh: 152; perl: 122; makefile: 82; python: 38; xml: 28
file content (16 lines) | stat: -rwxr-xr-x 606 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Roland Rosenfeld <roland@debian.org>
Subject: Fix quoting of [ia]spell input to make aspell work again;
 Closes: #299176
Bug-Debian: http://bugs.debian.org/299176

--- a/ding
+++ b/ding
@@ -2903,7 +2903,7 @@
     } elseif {[string match "*spell" $searchmeth($curr,grepcmd)]} {
         # spell family
         set isspell 1
-        set cmd [concat "echo \"$squery\" | $searchmeth($curr,grepcmd) $opt"]
+        set cmd [concat "echo $squery | $searchmeth($curr,grepcmd) $opt"]
     } elseif {[string match "*fortune" $searchmeth($curr,grepcmd)]} {
         # fortune
         set stderr_to_stdout 0