X-Git-Url: https://diplodocus.org/git/flac-archive/blobdiff_plain/6aa2468770481c0e17a41760600b8a4eaff7a846..7d56ee20dd19a764ff301f4abffaf855b90262f4:/flac2mp3 diff --git a/flac2mp3 b/flac2mp3 index 2231b1f..a4d3fdc 100755 --- a/flac2mp3 +++ b/flac2mp3 @@ -107,10 +107,12 @@ sub flac2mp3 { my $until_arg = shift; my $outfile = sprintf("$artist ($album) \%02s $title.mp3", $track); - $outfile =~ s/\//_/g; - $outfile =~ s/:/_/g; - $outfile =~ s/'/_/g; - $outfile =~ s/"/_/g; + for ($outfile) { + s/\//_/g; + s/:/_/g; + s/'/_/g; + s/"/_/g; + } # XXX $until_arg ||= '';