Friday 5 December 2008

Dirty Magic

Move .c files into .cpp files, with the same name prefix

for i in *.c; do mv $i ${i%".c"}".cpp"; done

Who would have known bash can manipulate strings?

Double buffering; A nice article.

No comments: