krawaller/kranium — pull request #11 by sevir (2011-12-15 14:57:05+00:00)
Title: fix getnetworkip in linux

the correct regexp in linux

line 18 -
before:
filterRE = /\binet\b[^:]+:\s*([^\s]+)/g;
after:
filterRE = /\binet:\s*([^\s]+)/g;

Seems that the code is copy of http://stackoverflow.com/a/3742915 , and the author says:

" (tested on MacOS Snow Leopard only; hope it works on linux too) "

;)