[Cooker] grep -i not working correctly in cooker

View: New views
8 Messages — Rating Filter:   Alert me  

[Cooker] grep -i not working correctly in cooker

by Steve Morris-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

grep -i is not working correctly as evidenced by the following output:

[steve@development ~]$ env | grep -i xdg_data_dirs
[steve@development ~]$ env | grep -i XDG_DATA_DIRS
[steve@development ~]$ env | grep -i PATH
[steve@development ~]$ env | grep XDG_DATA_DIRS
XDG_DATA_DIRS=/usr/share:/opt/kde3/share:/usr/share:/opt/kde3/share
[steve@development ~]$ env | grep PATH
NLSPATH=/usr/share/locale/%l/%N
PATH=/usr/share/colorgcc:.:/usr/share/colorgcc:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/qt4/bin:/usr/bin:/opt/kde3/bin:/home/steve/bin:/usr/lib/qt4/bin:/usr/bin:/opt/kde3/bin
PYTHONPATH=/usr/lib/ooo-2.4/program:/usr/lib/ooo-2.4/program
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/pkgconfig
LADSPA_PATH=/usr/lib/ladspa/
QT_PLUGIN_PATH=/home/steve/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/

This has been happening for quite some time, what needs to be done to
fix this?

regards,
Steve


[samorris.vcf]

begin:vcard
fn:Steve Morris
n:Morris;Steve
email;internet:samorris@...
x-mozilla-html:TRUE
version:2.1
end:vcard



[Cooker] Re: grep -i not working correctly in cooker

by Bugzilla from arvidjaar@mail.ru :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve Morris wrote:

> grep -i is not working correctly

.. on your system. Works here:

{pts/0}% env | grep -i xdg_data_dirs
XDG_DATA_DIRS=/usr/share:/opt/kde3/share:/usr/share:/opt/kde3/share

you are the only person who has possibility to investigate why.

> as evidenced by the following output:
>
> [steve@development ~]$ env | grep -i xdg_data_dirs



Re: [Cooker] grep -i not working correctly in cooker

by Liam R E Quin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2008-07-26 at 13:32 +1000, Steve Morris wrote:
> grep -i is not working correctly as evidenced by the following output:

[...]

check your locale variables -- there has been discussion on this on the
Cooker list in the past month, and I think there's an open bug.

Liam

--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org


Re: [Cooker] grep -i not working correctly in cooker

by Olivier Blin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve Morris <samorris@...> writes:

> grep -i is not working correctly as evidenced by the following output:
>
> [steve@development ~]$ env | grep -i xdg_data_dirs
> [steve@development ~]$ env | grep -i XDG_DATA_DIRS
> [steve@development ~]$ env | grep -i PATH
> [steve@development ~]$ env | grep XDG_DATA_DIRS
> XDG_DATA_DIRS=/usr/share:/opt/kde3/share:/usr/share:/opt/kde3/share
> [steve@development ~]$ env | grep PATH
> NLSPATH=/usr/share/locale/%l/%N
> PATH=/usr/share/colorgcc:.:/usr/share/colorgcc:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/qt4/bin:/usr/bin:/opt/kde3/bin:/home/steve/bin:/usr/lib/qt4/bin:/usr/bin:/opt/kde3/bin
> PYTHONPATH=/usr/lib/ooo-2.4/program:/usr/lib/ooo-2.4/program
> PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/pkgconfig
> LADSPA_PATH=/usr/lib/ladspa/
> QT_PLUGIN_PATH=/home/steve/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/
>
> This has been happening for quite some time, what needs to be done to
> fix this?

Please see https://qa.mandriva.com/show_bug.cgi?id=41922

--
Olivier Blin (blino) - Mandriva

Re: [Cooker] grep -i not working correctly in cooker

by Steve Morris-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Liam R E Quin wrote:

> On Sat, 2008-07-26 at 13:32 +1000, Steve Morris wrote:
>  
>> grep -i is not working correctly as evidenced by the following output:
>>    
>
> [...]
>
> check your locale variables -- there has been discussion on this on the
> Cooker list in the past month, and I think there's an open bug.
>
> Liam
>
>  
Liam,
    The only locale type environment variables I can find are the following:

LC_PAPER=en_AU.UTF-8
LC_ADDRESS=en_AU.UTF-8    
LC_MONETARY=en_AU.UTF-8
LC_SOURCED=1
LC_NUMERIC=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_MESSAGES=en_GB.UTF-8                                                                                                        

LC_IDENTIFICATION=en_AU.UTF-8                                                                                                  

LC_COLLATE=en_GB.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LANGUAGE=en_GB
LC_CTYPE=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_NAME=en_AU.UTF-8

I have left LC_COLOURS out of this list, but can you see anything wrong
as to me everything looks fine.

regards,
Steve


[samorris.vcf]

begin:vcard
fn:Steve Morris
n:Morris;Steve
email;internet:samorris@...
x-mozilla-html:TRUE
version:2.1
end:vcard



Re: [Cooker] grep -i not working correctly in cooker

by Liam R E Quin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2008-07-27 at 10:48 +1000, Steve Morris wrote:
[...]
>
> I have left LC_COLOURS out of this list, but can you see anything wrong
> as to me everything looks fine.
Might be LANG, but see the bug report.

Liam

--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org


Re: [Cooker] grep -i not working correctly in cooker

by Steve Morris-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olivier Blin wrote:

> Steve Morris <samorris@...> writes:
>
>  
>> grep -i is not working correctly as evidenced by the following output:
>>
>> [steve@development ~]$ env | grep -i xdg_data_dirs
>> [steve@development ~]$ env | grep -i XDG_DATA_DIRS
>> [steve@development ~]$ env | grep -i PATH
>> [steve@development ~]$ env | grep XDG_DATA_DIRS
>> XDG_DATA_DIRS=/usr/share:/opt/kde3/share:/usr/share:/opt/kde3/share
>> [steve@development ~]$ env | grep PATH
>> NLSPATH=/usr/share/locale/%l/%N
>> PATH=/usr/share/colorgcc:.:/usr/share/colorgcc:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/qt4/bin:/usr/bin:/opt/kde3/bin:/home/steve/bin:/usr/lib/qt4/bin:/usr/bin:/opt/kde3/bin
>> PYTHONPATH=/usr/lib/ooo-2.4/program:/usr/lib/ooo-2.4/program
>> PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/pkgconfig
>> LADSPA_PATH=/usr/lib/ladspa/
>> QT_PLUGIN_PATH=/home/steve/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/
>>
>> This has been happening for quite some time, what needs to be done to
>> fix this?
>>    
>
> Please see https://qa.mandriva.com/show_bug.cgi?id=41922
>  
Thanks Olivier, I had all sorts of issues browsing this bug. Clicking on
the link in Thunderbird,  Firefox 3 from mozilla.org would not display
the bug, I had to cut and paste the link into firefox before it would
display it. It appears that the patch disabled the functionality of '-i'
as the test I did of env | grep -i lc found instances of lc but not LC.
The documented work around of  setting the environment variable works.
Should I update the bug with my findings?

regards,
Steve


[samorris.vcf]

begin:vcard
fn:Steve Morris
n:Morris;Steve
email;internet:samorris@...
x-mozilla-html:TRUE
version:2.1
end:vcard



Re: [Cooker] grep -i not working correctly in cooker

by Steve Morris-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Liam R E Quin wrote:

> On Sun, 2008-07-27 at 10:48 +1000, Steve Morris wrote:
> [...]
>  
>> I have left LC_COLOURS out of this list, but can you see anything wrong
>> as to me everything looks fine.
>>    
> Might be LANG, but see the bug report.
>
> Liam
>
>  
Thanks Liam. I have looked at the bug report, and even though my
situation was slightly different, I have implemented the work around for
the time being which has returned the honouring of the '-i'  parameter.

regards,
Steve


[samorris.vcf]

begin:vcard
fn:Steve Morris
n:Morris;Steve
email;internet:samorris@...
x-mozilla-html:TRUE
version:2.1
end:vcard