Im looking to help out my team by automating a simple search list. The user will look for a peering ip /30. For example 192.168.1.2/30 and gets the result. Im trying to get the entered /30 and subtract the last octet by one.
Please use code tags for your posts, following may help you in same. Kindly try to show us some sample inputs
and expected output from your side, it will be good for us to understand your requirement more closely.
Let's say we have a input file with following details.