From d5d85722f4fb0fc6ca61102b397aa51a96bddcc6 Mon Sep 17 00:00:00 2001 From: epg <> Date: Sat, 30 Oct 2004 19:09:07 +0000 Subject: [PATCH] Need the g (global) flag on that substitution operation. --- flac2mp3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flac2mp3 b/flac2mp3 index 8c4e746..17452bf 100755 --- a/flac2mp3 +++ b/flac2mp3 @@ -129,7 +129,7 @@ sub flac2mp3 { # any single quotes in the filename by closing the quote ('), # putting an escaped quote (\'), and then reopening the quote ('). for ($fn, $title, $artist, $album, $date) { - s/'/'\\''/; + s/'/'\\''/g; } $outfile = sprintf("$artist ($album) \%02s $title.mp3", $track); -- 2.56.0