How to remove duplicates without sorting preserving the order of the original list in a text document? Using linux or python. Or as an option: there is a list1 (not sorted), a list2 (not sorted). How to add a list2 to the end of a list1, but at the same time exclude duplicates from the list2 that are already in the list1 and the word order should remain the same. thank
$ awk '!a[$0]++' исходный-файл- TWOfish