browserquest/BrowserQuest — pull request #21 by justinclift (2012-09-30 03:46:46+00:00)
Title: Client js: tabs->spaces, nuke trailing whitespace.

Done using:

$ for i in `ls -1 *js`; do sed -i '' 's/[ ]/ /g' $i; done

The character in the [ ] is a tab character, not a space.

then:

$ for i in `ls -1 *js`; do sed -i '' 's/[ ]*$//' $i; done

The characters between [ ] are 1 x space character, then 1 x tab character.

In bash, the tab character can be typed using Control-v then Control-i.