Please note, i understand how to output lines in one file that are not in another (here), my question is a little different.
In one file i have lines akin to
Андреев
Барбашев
Иванов
...
in a different file there are lines:
Барбашёв
Семёнов
...
Now. I need the lines from the second file, but only if you cannot find a line in the first where you substitute ё for е. For example Барбашёв
should not display, because Барбашев
is in the first.
If i do something like
comm -13 first.txt <(cat second.txt | sed 's/ё/е/g')
i get the correct lines, however, they have already been tranformed by that time, and it's unacceptable for what i'm trying to do.
In other words the output is:
Барбашев
...
While it should be
Барбашёв
...