I have a 10 digit number xxxxxx-xxxx, where i would like to calculate the number of different number combinations.
And print each combination in it's full length.
My question is as follows.
What is the most optimal way of doing this in a bash script, when i have the following info
- Digit 1-7 i already know
- Digit 8-9 is a serial number (Unknown digits)
- Digit 10 i know is a even or odd number based on a inpur variable.
Hope it makes sense.