[ANN] RbFind 1.1

R

Roger Pack

wow looks cool.

c:\dev>gem install rbfind
ERROR: could not find gem rbfind locally or in a repository

c:\dev>
 
R

Roger Pack

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
 
B

Bertram Scharpf

Hi,

Am Montag, 22. Dez 2008, 23:00:27 +0900 schrieb Roger Pack:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

I need some help with homework 1
About me... 0
[ANN] Autorake 0
[ANN] win32-clipboard 0.5.0 0
[ANN] camellia_rb 1.1 0
[ANN] win32-security 0.1.0 0
[ANN] rdoc-tags 1.1 Released 0
[ANN] rcairo 1.8.3 2

Members online

No members online now.

Forum statistics

Threads
474,169
Messages
2,570,915
Members
47,456
Latest member
JavierWalp

Latest Threads

Top