This was build on gentoo with english_ca.utf8 IIRC. Might not work for other distros... or locales supports -as the delimiter of hostname suffixing/prefixing
-