Added --head option to icdiff |
August 2nd, 2010 |
icdiff, programming, tech |
Often when diffing two files I know there are going to be a lot of
differences, and I just want some examples. Instead of waiting for
icdiff to run on a whole file, I used to run something like:
$ icdiff <(head -n 20 a.txt) <(head -n 20 b.txt)
This works fine, but is annyoying to type. To fix this, I added a
--head option to icdiff:
$ icdiff --head 20 a.txt b.txt
Get it on github: icdiff
Comment via: facebook