sim: sh: trim trailing whitespace in generated code

No functional change here, but makes it a little easier to read the
generated code when editors aren't highlighting all the spurious
trailing whitespace on lines.
1 file changed