20090429

Stripping trailing whitespace from XCode

Firstly, my usual approach of s/\s+$//g doesn't work since it eats up the newline too. s/\s+$/\n/g doesn't work either because the Replace: field in the find dialogue doesn't escape the \n.

Final solution is as shown: s/[ \t]+$//g

Cheers,
Steve

Labels: , , , ,


20090406

Family Planning

YLDE comic: half as funny half as often.


because imitation is the best form of flattery.

Cheers,
Steve

Labels: ,


20090402

Finally

I cheated thought.

Cheers,
Steve


This page is powered by Blogger. Isn't yours?