removing trailing spaces now also for shell and clojure