BSD cmp doesn't have the option of reading from stdin, so use process substitution instead.
Attach a file by drag & drop or click to upload