I have just uploaded a simple tool to the vault. All it does is to remove unwanted space characters from plain text files (leading, trailing or both) such as NwN script source (*.nss) files. It is called TrimEmAll and this link takes you to the project page.
TR