I have many files with info about soft, installed on remote machines.
I need to compare this file with template (soft than must be installed) and output file must content info about software that's not installed.
..any other software
output must be software_name2, becouse it is not installed, but software_name3.2 is good enough becouse version is more than we need.
So, the task is to show lines that is in template and not in source, using simple regular expressions
I use grep
grep -vxf template source >out
grep -Fvf template source >out
But it shows me only lines that is in source and not in template etc...
I need so fast to solve this problem, becouse it is deadly urgent case.
Please help me.