Re: strange behaviour : grep -i --colour

2005-03-18 Thread Lowell Gilbert
martinko [EMAIL PROTECTED] writes:

 hello,
 
 i've just found out that while 'grep -i ' and 'grep --colour '
 behave as expected (by myself), running 'grep -i --colour ' results
 in very strange behaviour - grep consumes all available cpu and, based
 on its input and terminal type, its output is definitely not what it
 should be.
 
 is this a known issue pls (i couldn't find anything about it) or am i
 just missing something ?
 
 regards,
 
 martin
 
 ps: observed on freebsd 5.3r-p5

I can't reproduce it on yesterday's -STABLE...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


re: strange behaviour : grep -i --colour

2005-03-18 Thread martinko
hi,
i've just prepared a typescript for you, see below. note that the 
original generated file is 37984604 bytes.
my system is:
$ uname -a
FreeBSD mb-aw1n-bsd 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #5: Mon Feb 14 
19:45:04 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MB-AW1N  i386

do you have any suggestions as what i should do pls?
cheers,
martin
--
Script started on Fri Mar 18 18:34:17 
2005 
You have 
mail. 
mb-aw1n-bsd:/root#  

mb-aw1n-bsd:/root# grep -i 
  
q   

q   

a   

a   

z   

z   

^D..mb-aw1n-bsd:/root# grep --colour 

q   

q   

a   

a   

z   

z   

^D..mb-aw1n-bsd:/root# grep -i --colour 
 
q   

.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[
01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01
;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;3
1m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m
.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[
00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00
m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.
[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[0
1;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;
31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31
m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.
[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[0
..SNIPPED..
[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[0
0m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m
.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[
01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01
;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;3
1m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m
.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[
00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00
m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.
[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[0
1;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;
31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31
m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.
[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[0
0m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m
.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[
01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[0^C

mb-aw1n-bsd:/root#  

mb-aw1n-bsd:/root# 
^D..exit
   

Script done on Fri Mar 18 18:35:15 
2005

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


strange behaviour : grep -i --colour

2005-03-17 Thread martinko
hello,
i've just found out that while 'grep -i ' and 'grep --colour ' 
behave as expected (by myself), running 'grep -i --colour ' results in 
very strange behaviour - grep consumes all available cpu and, based on 
its input and terminal type, its output is definitely not what it should be.

is this a known issue pls (i couldn't find anything about it) or am i 
just missing something ?

regards,
martin
ps: observed on freebsd 5.3r-p5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]