ref: 9a7ee3a47de9b15b79d83fb3c5590acbc63114b3
dir: /rc/bin/diffy/
#!/bin/rc # diffy [diff-opts] file... - diff file against yesterday's version(s) rfork e diffopts=() while(! ~ $#* 0 && ~ $1 -* && ! ~ $1 --){ diffopts=($diffopts $1) shift } if(~ $1 --) shift if(! ~ $#* 1) diffopts=($diffopts -m) for(f) diff $diffopts `{yesterday $f} $f