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:

Jealousy In Polyamory Isn't A Big Problem And I'm Tired Of Being Gaslit By Big Self-Help

The nuance is in the post, guys

via Thing of Things July 18, 2024

Trust as a bottleneck to growing teams quickly

non-trust is reasonable • trust lets collaboration scale • symptoms of trust deficit • how to proactively build trust

via benkuhn.net July 13, 2024

Coaching kids as they learn to climb

Helping kids learn to climb things that are at the edge of their ability The post Coaching kids as they learn to climb appeared first on Otherwise.

via Otherwise July 10, 2024

more     (via openring)