Official Passage Discussion

in case anyone is stuck where I was: try

sed ‘s/[[:blank:]]*$//’