16 lines · 301 B · Text
RawDownload
#!/bin/rc# diffy [diff-opts] [file...] - diff file against yesterday's version(s)rfork ediffopts=()while(! ~ $#* 0 && ~ $1 -* && ! ~ $1 --){	diffopts=($diffopts $1)	shift}if(~ $1 --)	shiftif(! ~ $#* 1)	diffopts=($diffopts -m)if (~ $#* 0)	* = (.)for(f)	diff $diffopts `{yesterday $f} $f