5

Find and arrange words with same letters from list

view full story
linux-howto

http://www.unix.com – I am making a word game and I am wondering how to find and arrange words in a list that have the same letters. In my game, you are presented with 5 letters, and you then have to rearrange the letters tp make a word. So the word could be "acorn", but those 5 letters could also make up "narco" or "racon" which are words in my .txt dictionary (shown on the left). Example, third line on the right: i.stack.imgur.com/2EVpB.png I got some assistance at Stackoverflow, but I am wondering how I can actually do this using unix tools like sed/gsed: Here's the soluti (HowTos)