projects
/
dupemerge
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6ae3a6
)
tick_quote: properly quote the string '\''
author
Zygo Blaxell
<zblaxell@waya.furryterror.org>
Sat, 9 Jan 2010 01:58:48 +0000
(20:58 -0500)
committer
Zygo Blaxell
<zblaxell@waya.furryterror.org>
Sat, 9 Jan 2010 02:17:28 +0000
(21:17 -0500)
faster-dupemerge
patch
|
blob
|
history
diff --git
a/faster-dupemerge
b/faster-dupemerge
index 18d88cd00385815cd376e9da0c53436a0d2072f3..0ae1032f2192b4fe4d7556f8b5be4ffd9ce671a8 100755
(executable)
--- a/
faster-dupemerge
+++ b/
faster-dupemerge
@@
-220,7
+220,7
@@
END {
sub tick_quote {
my ($text) = (@_);
- $text =~ s/'/'\''/go;
+ $text =~ s/'/'\
\
''/go;
return "'$text'";
}