Fbsd8 writes:

>  I have a .sh script that I need to determine if the entered IP
>  address is IPv4 or IPv6.
>  
>  Is there some .sh command that does this?

        Not that I know of.
        But ... how hard can it be to figure out whether it uses '.' or
':'?


                                Robert Huff

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to