I have two log files A and B. Where files A have 10 lines and file b has 5 lines.
Out of them 3 lines are common to both of them. I want to compare both the files and want to delete the common data from file A(file B should remain as it is)
And the awk that has been specified is giving a blank space once the lines are deleted and the data is not coming in the same order as it is originally. For example, last line is coming inthe middle and vice versa. In my script, it should not change the order of the lines in the output.Please help. And let me know if you need more details.I am using SUN OS box.