bash:functions:ip_validity
Differences
This shows you the differences between two versions of the page.
bash:functions:ip_validity [2021/01/09 11:52] – created peter | bash:functions:ip_validity [2021/01/09 11:53] (current) – peter | ||
---|---|---|---|
Line 40: | Line 40: | ||
<code bash> | <code bash> | ||
[[ $ip =~ ^[0-9]{1, | [[ $ip =~ ^[0-9]{1, | ||
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | <code bash> | ||
+ | ^[1-9][0-9]{, | ||
</ | </ | ||
bash/functions/ip_validity.1610193173.txt.gz · Last modified: 2021/01/09 11:52 by peter