Hi,
yet another find tool: http://raa.ruby-lang.org/project/rbfind.
Hope you enjoy it. Seek and ye shall find.
Bertram
Hi,
yet another find tool: http://raa.ruby-lang.org/project/rbfind.
Hope you enjoy it. Seek and ye shall find.
Bertram
wow looks cool.
c:\dev>gem install rbfind
ERROR: could not find gem rbfind locally or in a repository
c:\dev>
Hi Roger,
Am Montag, 22. Dez 2008, 17:42:52 +0900 schrieb Roger P.:
c:\dev>gem install rbfind
ERROR: could not find gem rbfind locally or in a repository
Did you specify the source I provide?
c:> gem sources
c:> gem install --source http://gems.bertram-scharpf.de rbfind
Bertram
Hi,
Am Montag, 22. Dez 2008, 23:00:27 +0900 schrieb Roger P.:
c:> gem install --source http://gems.bertram-scharpf.de rbfind
Colors don’t work on windows currently [have to use win32::console or
wirble to colorize on windoze].Is there the equivalent of a find --iname feature?
Oops, I totally forgot considering about Windows. Here are two
workarounds for the -iname feature:
rbfind -pD ‘(?i:re)’
rbfind -p ‘name =~/re/i’
In Version 1.1.1 (now available), the -D option will be case
insensitive by default for DOSish platforms. Use the workarounds
the other way round if this behaviour is not intended.
Color support is turned off on Windows now by default. Use the -c
switch to force it on.
Sorry, but I cannot test the features as I have no Windows running
here…
Bertram
Did you specify the source I provide?
c:> gem sources
c:> gem install --source http://gems.bertram-scharpf.de rbfind
Well I was mostly teasing you for not having deployed it in a way to
make it standard and easy to install
Some notes:
within the --help output might be nice to have more examples, like how
to actually use the output block.
Colors don’t work on windows currently [have to use win32::console or
wirble to colorize on windoze].
The main link given is off [has extra > ?].
A list in the README/docs of the available variables would be nice.
Is there the equivalent of a find --iname feature?
here’s my one attempt
C:>rbfind -d *.rb
c:/ruby18/lib/ruby/gems/1.8/gems/rbfind-1.1/bin/rbfind:281: (eval):1:
compile error (SyntaxError)
(eval):1: syntax error, unexpected ‘.’, expecting ‘=’
from
c:/ruby18/lib/ruby/gems/1.8/gems/rbfind-1.1/lib/rbfind.rb:540:in call' from c:/ruby18/lib/ruby/gems/1.8/gems/rbfind-1.1/lib/rbfind.rb:540:in
do_level_depth’
from c:/ruby18/lib/ru
Anyway looks good and thanks.
-=r
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs