I use the default black background for the SEQ map window and most of the new Mapfiend maps use black lines. This makes me grumpy so I wrote the following little script:
Code:
#!/bin/bash
perl -pi -e "s/, 0, 0, 0/, 255, 255, 255/g;" *
perl -pi -e "s/, 0, 0, 0/, 255, 255, 255/g;" *
Just put it that in a file in your maps folder, make it executable (chmod u+x it), and run it with no arguments. It'll make the maps a bit more SEQ-friendly and hopefully not screw up anything else (labels, etc.)
And yeah, I know the regular expressions suck and that I could write it so that it only has to do one pass. The script works, though, and I hate writing those things so I'm content with how it is.