in reply to (crazyinsomniac) Re: convert whitespaces to underscores
in thread convert whitespaces to underscores

(tr/// vs s///)

It doesn't matter for this script as it doesn't matter for most scripts. This particular script is slow because of forking and filesystem changes. Changing the s/// to a tr/// won't increase the speed notably. Not even for a million MP3 files.

s///g may not be the best way, but it is certainly not a bad way.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.

  • Comment on Re: (crazyinsomniac) Re: convert whitespaces to underscores