As I reported in bug 159706 for fedora core 4, to manage correctly the option i18n in setsysfont: BUGGY lines in /sbin/setsysfont: ------------------------ if [ ! -f /lib/kbd/consoletrans/$SYSFONTACM_to_uni.trans ]; then SYSFONTACM=`echo $SYSFONTACM | sed "s|iso0|8859-|g;s|iso|8859-|g"` fi fi must become: if [ ! -f /lib/kbd/consoletrans/${SYSFONTACM}_to_uni.trans ]; then SYSFONTACM=`echo $SYSFONTACM | sed "s/iso0/8859-/g;s/iso/8859-/g"` fi Unfortunately, in fedora 5 only the first line is corrected, but in the second line, the pattern matching for sed expression is STILL with pipe "|" instead of "/", so processing of SYSFONTACM still doesn't work !
I can't reproduce this here - setting SYSFONTACM to (for example) iso15 works, in that I get 8859-15 out. Note that this is, in essence, supporting a config written by pre-kbd packages, which is a few years ago at this point.
The sed 's' command can use any characer as a separator, not only a slash.