I want to write a script which will accept a line of text and should tell me if any of the words are made up of the same letters. Here is an example:
How can you listen if you are not silent?
Here 'listen' and 'silent' are made up of exactly same letters with same frequency.
Any help?