Clean up whitespace for bash