Hi, On Sat, Mar 21, 2015 at 02:39:31AM +0100, Gunnar Hjalmarsson wrote: > Hi Osamu! > I noticed one thing, which has been corrected in the Ubuntu patch. If > LC_CTYPE is set explicitly, its value is not surrounded by quotes in the > output from the locale command. Please see the attached diff.
Good point! Thanks. Osamu > --- a/share/xinputrc.common.in 2015-03-20 16:12:30.000000000 +0100 > +++ b/share/xinputrc.common.in 2015-03-21 02:10:29.453713955 +0100 > @@ -21,7 +21,7 @@ > if [ -r $IM_CONFIG_DEFAULT ]; then > . $IM_CONFIG_DEFAULT > fi > -IM_CONFIG_LC_CTYPE=$(locale | sed -nr 's/LC_CTYPE=\"([a-zA-Z_]*).*\"/\1/p') > +IM_CONFIG_LC_CTYPE=$(locale | sed -nr 's/LC_CTYPE=\"?([a-zA-Z_]*).*/\1/p') > IM_CONFIG_PREFERRED=$(echo "$IM_CONFIG_PREFERRED_RULE"| sed -rn > "s/(^|.*:)${IM_CONFIG_LC_CTYPE},([^:]*)($|:.*$)/\2/p") > ############################################################# > # Common functions used by im-config hook script (any mode) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org