(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.
In reply to Re: (crazyinsomniac) Re: convert whitespaces to underscores
by Juerd
in thread convert whitespaces to underscores
by painehope
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |