Handbook
Glossary
normalize-ipv4 ( str -- newstr )
Vocabulary
ip-parser
Inputs
str
a
string
Outputs
newstr
a
string
Word description
Normalizes an IP string that may not have all four address components specified, using the rules implemented by
parse-ipv4
.
Definition
USING:
ip-parser.private
;
IN:
ip-parser
:
normalize-ipv4
( str -- newstr )
parse-ipv4
join-ipv4
;