Wednesday, May 16, 2007

Diff between only specified lines in unix

diff < (sed ' line1,line2!d' file1) < (sed 'line1,line2 !d' file2)

Monday, May 14, 2007

Converting Numbers to Strings and Strings to Numbers in C++

http://www.parashift.com/c++-faq-lite/misc-technical-issues.html