[CentOS] broken behavior with `look`

Mike Hunter

centos at mhunter.lusArs.net
Tue Jul 18 23:11:25 UTC 2006


Hey everybody,

I'm having a strange problem with a hosted CentOS environment.  I like
to use `look` to correct my spelling.  But it isn't willing to help me
with the word "manager":

#>look man | wc -l                                                     
1001
#>look mana | wc -l                                      
0
#>grep "^mana" /usr/share/dict/words  | wc -l                           
54

#>md5sum `which look`
05ef59ae2f9183e525ec531dcb07ee8b  /usr/bin/look
#>cat /etc/redhat-release 
CentOS release 4.3 (Final)
#>uname -a
Linux blahblah.com 2.6.8-022stab078.9-entnosplit #1 SMP Thu Jun 8 12:46:44 MSD 2006 i686 athlon i386 GNU/Linux

Can anybody confirm these results?  Any suggestions for a fix?

I found this bug:

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=153276

Which refers to this closed bug:

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=147949

If I'm reading the bug history right, it got fixed by updating the words
file, but now it seems broken again and I don't see any activity.

#>rpm -qf /usr/bin/look                                        
util-linux-2.12a-16.EL4.16
#>rpm -qf /usr/share/dict/words                                       
words-3.0-3

Thanks!

Mike

-- 
You've got male.



More information about the CentOS mailing list