* fix trivial shell script issues * remove trailing whitespace
This approximates what I want the sudo coding style to look like. Only deviations from webkit style are included.