### vim:ft=zsh:foldmethod=marker
###
### find lines in one file, that aren't in the other
local opt
if [[ ${#@} -lt 2 ]] ; then
printf 'usage:\n zfindlines <file-with-lines-to-check> <files-to-check>\n'
return 1
fi
if [[ ! -f ${1} ]] || [[ ! -f ${2} ]] ; then
printf 'One of the files isn'\''t there (%s) (%s)\n' ${1} ${2}
return 2
fi
while read opt ; do
command grep '^'${opt}'$' ${2} > /dev/null || echo $opt;
done < ${1}
return 0