I feel this question has been asked before but I am having trouble locating an answer and it combinations of possibilities is mind boggling. Many resources provide something almost close but I'm having trouble getting the expressions in grep correct for my issue.
I am creating a wordlist using crunch with alphanumeric output:
crunch 8 8 ABCDEFGHIJKLMNOPQRSTUVWXYZ + 1234567890 -t %@%@%@%@
This will output 8 alphanumeric strings with an alpha and a number like so:
1A1A1A1A1A 1A1A21B2A3 1A1A31A1A3 ...
I have been trying to pipe the output to grep where the final result will omit output with any character in any pattern repeats. Due to the nature of the crunch output, consecutive repeats are already eliminated. Is there a correct expression to omit the non consecutive ones? Or is there a possible way to do this with just crunch?
1A1A1A1A1A not output 1A1A21B2A3 not output 1A1A31A1A3 not output acceptable output: 1A2B3C4D 1B2A3D4C 1C3A2F5G
Any help with trying to understand the expressions in this regard is greatly appreciated.