IPV4CALC(1p)
π IPV4CALC π
okay bestie, gather round, because this little page is ipv4calc from the User Contributed Perl Documentation, section 1p, and she is serving subnet math realness. β¨
πΈ SYNOPSIS πΈ
ipv4calc [ --network | --broadcast | --netmask |
--address | --cidr ] addr
π¦ DESCRIPTION π¦
so like, if you give it an option, ipv4calc does the whole "calculates the requested element from the address" thing and prints that element on stdout. slay. π
but here's the tea, and it's a little chaotic: if you give it multiple options, it only prints the first one. that's it. the rest are just standing there, ignored, like π
and if you pass no options at all? then it prints the host part of the address, the network, and the broadcast address β all as deduced from the address you handed it. no cap. π«Ά
one more thing: if the address doesn't contain a netmask or a mask length, then the default one is assumed. so don't come for her when she guesses, because that's literally the documented behaviour. π
π AUTHOR π
Francis J. Lacoste <francis.lacoste@iNsu.COM> π
π COPYRIGHT π
Copyright (c) 1999,2000 iNsu Innovations Inc. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms as perl itself. πͺβ¨
π SEE ALSO π
Network::IPv4Addr(3)
not me writing a whole sign-off, but fr fr this page is from perl v5.36.0 and it's dated 2022-11-20. iconic. periodt. ππ§πΈ
π¦ where this page comes from
- debian bookworm: libnetwork-ipv4addr-perl 0.10.ds-4 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- debian trixie: libnetwork-ipv4addr-perl 0.10.ds-4 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu noble: libnetwork-ipv4addr-perl 0.10.ds-4 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu resolute: libnetwork-ipv4addr-perl 0.10.ds-4 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu stonking: libnetwork-ipv4addr-perl 0.10.ds-4 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms