[Surfraw-devel] [Patch] Single quote escape sequence

Alexander Becher alex at cyathus.de
Fri Sep 28 19:31:59 UTC 2007


Hi,

I noticed that surfraw wrongly escapes single quote ('\047', '\x27') to
backquote ('\140', '\x60'). But we can fix that:

---8<---8<---8<---

--- surfraw.orig	2007-09-28 21:27:29.000000000 +0200
+++ /usr/bin/surfraw	2007-09-28 21:26:51.000000000 +0200
@@ -165,7 +165,7 @@
 		     s/|/%7C/g;
 		     s/}/%7D/g;
 		     s/~/%7E/g;
-		   '"s/'/%60/g"
+		   '"s/'/%27/g"
 }
 
 w3_url_of_arg () {

--->8--->8--->8---

Regards,
Alexander
-- 
PGP key available



More information about the Surfraw-devel mailing list