[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#179929: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=179929



>                       Debian Bug report logs - #179929
>       xterm: uxterm's regexp doesn't catch modifiers in locale settings

the attached script is incorrect (i.e., is specific to GNU sed),
I'll have a workable version in patch #175.

>--- uxterm.orig 2003-02-05 10:40:04.000000000 +0100
>+++ uxterm      2003-02-05 18:43:52.000000000 +0100
>@@ -30,7 +30,7 @@
> # user's shell does not reset unknown locale specifiers, but not all shells do
>.
> if test $found != yes ; then
>        if test -n "$value" ; then
>-               eval ${name}=`echo ${value} |sed -e 's/\..*//'`.UTF-8
>+               eval ${name}=`echo ${value} |sed -e 's/\(\.\|\@\).*//'`.UTF-8
>                eval export ${name}
>        else
>                LC_CTYPE=en_US.UTF-8
-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net




Reply to: