#!/bin/sh
# Remove extra whitespace from the end of lines, since it throws off some further
# formatting cleanups. There's no real pattern to when this happens; I think it's
# just a copy and paste problem in the source doc, so there's no real ability to
# make further improvements --- just remove the spaces and let other things clean
# it up.
# Also convert some non-breaking spaces and that kind of thing in there randomly.
sed -E 's/\xc2\xa0/ /g' _tmp/ccsrd.md > _tmp/ccsrd.new.md
sed -E 's/\s+$//' -i _tmp/ccsrd.new.md