#! /bin/sh
#
# colorize the output of diff so that it is easy to see changes
#

diff -y "$@" 2>&1 | \
  expand | \
  histring -c blue -fE '^.{62}<' | \
  histring -fE -c green '^.{62}\|' | \
  histring -c cyan -fE '^.{62}>.*' | \
  less -R
  
