I've recently written about using bash arrays and bash regular expressions, so here's a more useful example of using them to test IP addresses for validity. To belabor the obvious: IP addresses are 32 ...
This post follows up on Part 1 by examining the many ways that you can test the value of variables – e.g., whether they equal particular strings like “yes” or “no”, if they have a numeric value, if ...