Anyone have a sample of code where I can parse out a 4 digit number into two variables and populate them into the configuration generator.
For example.. I would like to be prompted for the 4 digit code (aka site 3).. let's say 1234.
Then the configutation script would parse that out to $variable1='12' $variable2='34' and I would be able to perform a command that would take those two varibales and create an address that would look like 10.12.34.10
Thanks