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

Recent posts on blogs I like:

Bad Therapy Review: Privilege

Gently raised in Park Slope

via Thing of Things May 7, 2024

How bad is alcohol?

Unfortunately we landed on a pretty bad drug as a default. The post How bad is alcohol? appeared first on Otherwise.

via Otherwise May 6, 2024

Clarendon Postmortem

I posted a postmortem of a community I worked to help build, Clarendon, in Cambridge MA, over at Supernuclear.

via Home March 19, 2024

more     (via openring)