Thursday, July 25, 2013

CVS: Changing from extssh to ext

Linux:
find . -name Root -exec sed -i 's/extssh/ext/' {} \;

OSX:
find . -name 'Root' | xargs perl -pi -e 's/extssh/ext/g'

No comments:

Post a Comment

Integer to it's binary string representation in C

My oldest son is studying mathematics and programming in college and wrote me asking for a way to convert an integer to it's binary repr...