uniq
Hi all,
I have a small shell parsing problem:
I have two strings(or I can concatenate them if you like) which in which I only want the unique words.
I tried piping them to uniq -u(only output unique) but that didn't work since uniq sort one lines, not words.
Any idea how to solve this? Perhaps there's a way to convert the string so the words are separeted by lines instead?
Any ideas are appreciated,
cheers,
Frans
|