[Gllug] Re: Bash Data validation libraries
Richard
richard_c at tpg.com.au
Tue Feb 14 16:04:27 UTC 2006
Richard Jones wrote:
>A lot of these things can be done fairly simply using the available
>tools. For instance, a naive check of IP addresses might be:
>
>
<snip>
>^[1-9][0-9]?[0-9]?\.[1-9][0-9]?[0-9]?\.[1-9][0-9]?[0-9]?\.[1-9]\[0-9]?[0-9]?$ ]]; then
>
>
<snip>
At the risk of sounding rude, what about the less naive version?
Richard
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list