Trying to campare two text files and output to a third one. tried diff but it does not do what I want and after reading about it I found out should not. diff is for writeing patch files. not what i want to do. I am trying to save hours of work it would take to delete everything that is the same in these two files. I found this on the subject but have not been able to get it to work.
ttps://unix.stackexchange.com/questions ... te-a-thirdWhen I run the command..
- Code: Select all
ttps://unix.stackexchange.com/questions/171113/bash-scripting-problem-compare-two-lists-and-create-a-third
I get ambiguous redirect.. when I look that up I find that more then one thing can cause that but nothing I have found so far has solved the problem. any ideals about what could cause it or fix it.