mattszabo
2/15/2018 - 11:26 PM

Output lines in file1 that are not in file2

Output lines in file1 that are not in file2

#/bin/bash -ex

file1=$1
file2=$2

diff --new-line-format="" --unchanged-line-format="" <(sort file1) <(sort file2)