Config file comparison ideas please ?
i am relatively new to Nix so i am hoping that there is a easier solution for my problem:
Problem i have 2 text files ( router configs ) one has 65 lines less that the other , the text files have over 20,000 lines of text so this cannot easily be done manually.
i though about using diff or vimdiff but if 1 line which is in file a is not present in file b it throws the whole diff out.
therefore i was thinking along the lines of a shell script where i read in the larger file and search using a grep function for a line in the smaller file , if not found display in a new text file.
now in theory this sound easy but with my limited scripting knowledge it is taking me ages to get the basic..
can anyone possibly think of a easier solution ?
Kind Rgds X