I have two files A and B which are almost same with some lines different and with some lines jumbled. Since the two files are systemverilog files the lines also contain special characters like
; , = + and etc.
I want to loop through each line of fileA and check if there is a corresponding match in fileB. The comparison should follow the rules
- Whitespaces at the beginning and end of the line can be ignored.
- Multiple Space/Tab between words can be considered as single Space.
- Empty lines can be ignored
The result should display the lines that are present in fileA but not in fileB.
tkdiff but since some lines are jumbled it shows many differences.