Hacker News new | ask | show | jobs
by joshka 3587 days ago
Funnily, that doesn't work as expected on OS X due to a rather old version of sed installed by default that doesn't support \s. Try the following instead:

  sed 's/[[:blank:]]*$//g'