Is there any way to subtract one column of data containing text from another column containing text and get third column containing unique charcters, for example using awk eg.
ab a cd d efg ef
ab a b cd d c efg ef g
In case the second field may contain characters with special meaning in regular expression character classes, those have to be escaped. Solving that in POSIX
Manatworks solution is of course fine. This is just a pure bash alternative.