cat a
a
b
c
d
e
cat b
c
d
e
grep -Fxvf b a
a
b
grep that compares two configs a and b and finds all config lines present in file a and not in b. Of course a diff could do that, but sometimes you don't want to deal with the order or the differences of whitespaces. between the configs.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment