Wednesday, May 16, 2007

Diff between only specified lines in unix

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

No comments: