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:

Development RCTs Are Good Actually

In defense of trying things out

via Thing of Things March 25, 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

How web bloat impacts users with slow devices

In 2017, we looked at how web bloat affects users with slow connections. Even in the U.S., many users didn't have broadband speeds, making much of the web difficult to use. It's still the case that many users don't have broadband speeds, both …

via Posts on March 16, 2024

more     (via openring)