I am trying to write a short script that allows me to read in a word from an input file. I then want to change the character at different positions into various other characters like:
ABCDEFGH #read from input file
#now change character 2 into all other possible
AACDEFGH #output 1
ACCDEFGH #output 2
ADCDEFGH #output 3
... and then export this new word as a new file (or read it into an executable script). Has anybody a good idea how I could do that. I need to define position as well as the possible characters to change to and write it into a file named with the change.
I am struggeling ... Thanks for your help.