boredom of ramfree17, in bite size portions. Go here for the full serving: http://ramfree17.net/capsule

Sed: reduce multiple spaces to single space

sed ‘s/[ \t]\+/ /g’ input-file

or

echo “Some    random   text.   :) ” | sed ‘s/[ \t]\+/ /g’

You have no idea how often I forget this useful snippet. :D