: parse-hosts ( path -- hosts )
utf8 file-lines
- [ [ blank? ] trim ] map harvest
+ [ [ unicode:blank? ] trim ] map harvest
[ "#" head? ] reject
[
- [ blank? ] split1-when
- [ blank? ] split-when harvest
+ [ unicode:blank? ] split1-when
+ [ unicode:blank? ] split-when harvest
] H{ } map>assoc ;
MEMO: system-hosts ( -- hosts ) hosts-path parse-hosts ;