I'm looking to write a short script that will allow me to generate all possible letter combinations with the parameters I set.
For example:
__ _ _ n o
Parameters:
word = 5 letters
4th, 5th letter = n, o
1st letter = any vowel (aeiouy)
2nd, 3rd letter = any letter (abcde...)
in other words, I'm looking to write a script that would return me all 26*26*6 results. It does not matter if it is an actual word (i.e., "zzzno" is fine). And then to generalize it so I can do this with any parameters. Thank you.
returns 4056 entries:
If you have a word list, you don't even need to write code, you can use grep: