From: Zygo Blaxell Date: Sat, 9 Jan 2010 01:58:48 +0000 (-0500) Subject: tick_quote: properly quote the string '\'' X-Git-Tag: dm6-0.20100514~37 X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=dupemerge;a=commitdiff_plain;h=51db2c8ce235245d7eb2c02e337d9d18b94c9813 tick_quote: properly quote the string '\'' --- diff --git a/faster-dupemerge b/faster-dupemerge index 18d88cd..0ae1032 100755 --- a/faster-dupemerge +++ b/faster-dupemerge @@ -220,7 +220,7 @@ END { sub tick_quote { my ($text) = (@_); - $text =~ s/'/'\''/go; + $text =~ s/'/'\\''/go; return "'$text'"; }