Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Release 1.0

  • Loading branch information...
commit 45d5b126686f9e1c6da0a43d28a6a9c9bbf28e92 1 parent c442623
@danlucraft authored
Showing with 17 additions and 4 deletions.
  1. +11 −0 History.txt
  2. +3 −3 README.txt
  3. +3 −1 bin/rak
View
11 History.txt
@@ -1,4 +1,15 @@
+== 1.0 / 2009-09-27
+
+* MinGW is a valid Windows platform type.
+* Can use ~bang and ~ques in a regex and they will be turned into ! and ?
+ This is to get around bash.
+* Added -k negative file match option (Contributed by Juozas Gaigalas')
+* Added .cc and .hpp to the C++ file types
+* Added Vala file types
+* 20% faster on average
+* Moved to Github
+
== 0.9 / 2008-02-03
* Added .rake to ruby files
View
6 README.txt
@@ -1,9 +1,9 @@
rak
- by Daniel Lucraft
- http://rubyforge.org/projects/rak
+http://rubyforge.org/projects/rak
+Daniel Lucraft (http://danlucraft.com/blog/)
== DESCRIPTION:
-
+
Replacement for grep. Recursively scans directories to match a given
Ruby regular expression. Prints highlighted results.
View
4 bin/rak
@@ -678,7 +678,9 @@ END
if opt[:invert_match]
code << %{ puts "\#{fn}:\#{i-count}" }
else
- code << %{ puts "\#{fn}:\#{count}" }
+ code << %{ if count > 0 }
+ code << %{ puts "\#{fn}:\#{count}" }
+ code << %{ end }
end
end
if opt[:print_file_if_match]
Please sign in to comment.
Something went wrong with that request. Please try again.