Skip to content

Commit

Permalink
tweak readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rdp committed Aug 5, 2009
1 parent ac90f54 commit bede573
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
which_ruby: the linux "which" command re-written in ruby [and windows-friendly/aware [recognizes .bat files, etc.]]
which_ruby: the linux "which" command re-written in ruby [and windows-friendly+aware [recognizes .bat files, etc.]]

A which command for windows that actually works!

Itch it scratches: there seems to be a lack of a "which" command for windows that actually works--they all skip batch files or report file output without extensions, so even if you run "which xxx" you never know what you're really running when you type xxx in the command line--is it xxx.exe [the thing reported from 'which'] or xxx.bat somewhere previous to this in the path? This executable makes this crystal clear and is a must have for every windows developer.

Itch it scratches: there seems to be no "which" command for windows that actually works--they all skip batch files so even if you run "which xxx" you never know what you're really running when you type xxx in the command line--is it xxx.exe [the thing reported from 'which'] or xxx.bat somewhere previous to this in the path? This executable clears up that ambiguity.

Based originally on some code stolen from ruby gnuplot, extracted.

To install:
gem install rogerdpack-which_ruby
gem install rogerdpack-whichrr
then
C:> which_ruby executable_name_here
C:> whichr executable_name_here [extension optional]

0 comments on commit bede573

Please sign in to comment.