From: matt@... (matt neuburg) Date: 2009-04-05T01:59:25+09:00 Subject: Re: ri is suddenly empty Ryan Davis wrote: > On Apr 3, 2009, at 21:19 , matt neuburg wrote: > > > Big-iMac-Attack:~ mattneub$ ri --list-doc-dirs > > /usr/local/share/ri/1.8/system > > /usr/local/lib/ruby/gems/1.8/doc/builder-2.1.2/ri > > /usr/local/lib/ruby/gems/1.8/doc/columnize-0.2/ri > > /usr/local/lib/ruby/gems/1.8/doc/fastri-0.3.1.1/ri > > /usr/local/lib/ruby/gems/1.8/doc/hpricot-0.6.164/ri > > /usr/local/lib/ruby/gems/1.8/doc/linecache-0.43/ri > > /usr/local/lib/ruby/gems/1.8/doc/rake-0.8.3/ri > > /usr/local/lib/ruby/gems/1.8/doc/rdoc-2.2.1/ri > > /usr/local/lib/ruby/gems/1.8/doc/rubygems-1.3.1/ri > > /usr/local/lib/ruby/gems/1.8/doc/rubytree-0.5.2/ri > > find `ri --list-doc-dirs` -name \*squeeze-i.yaml > > pls /usr/local/share/ri/1.8/system/String/squeeze-i.yaml m. PS Your shell line didn't work OMM so I wrote a version in a language I understand a little better, i.e. Ruby: `ri --list-doc-dirs`.each { |s| puts `find '#{s.chomp}' -name '*squeeze-i.yaml'` } PPS I would just like to repeat that I don't actually care about this particular problem. Even without the peculiar case of squeeze!, I would *still* like interactive ri to present me with a list of numbers to type instead of names. One or two characters (digits) is a much faster alternative for picking the one you want. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com