Hi,
xxxxxxxxmessageyyyyyyymessagexxxxxxxxxx
xxxxxxxxmessagezzzzzzzmessagexxxxxxxxxx
xxxxxxxxmessageaaaaaaamessagexxxxxxxxxx
xxxxxxxxmessageyyyyyyymessagexxxxxxxxxx
The above is my log file I need to extract the phrase which is inside the message tag and I need to save the distinct messages in a file in the above example I need to save zzzzzzz and aaaaaaa to a file.
What are the unix commands I need to use.