Diff notes

From raju

head and diff

To diff headers of two files without creating any temporary files

    % diff <(head -n 1 foo.20170102) <(head -n 1 foo.20170104)