Add getconf_lines and getconf_words functions.