#!/usr/bin/env sh # YES_ZSH YES_BASH YES_DASH YES_ASH YES_BB_AWK similar() { ### @- ### highlight adjacent lines up to the first inequivalent character. [ $# -eq 0 ] || { printf "%s\n" "$0: does not take arguments" >&2; return 1; } awk ' { i=0 for(c=1;c