cat a
a
b
c
d
e
cat b
c
d
e
grep -Fxvf b a
a
b
Last active
March 4, 2022 08:51
-
-
Save GitarPlayer/2692350f99fb88abc768428f80e02d4d to your computer and use it in GitHub Desktop.
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