Permalink
Browse files

Merge pull request #3 from incase/master

As suggested per eMail, I'm sending you a pull request.
  • Loading branch information...
lookfirst committed Dec 19, 2011
2 parents 0ff2194 + 77c8718 commit 74f93dbef748462ca7f67d1023aeabe47d7f74e1
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/clarity/commands/grep_command_builder.rb
@@ -42,7 +42,7 @@ def exec_functions
def gzip_tools
- cat_tool = (ENV["PATH"].split(":").find{|d| File.exists?(File.join(d, "gzcat"))} ? "zcat" : "gzcat")
+ cat_tool = (ENV["PATH"].split(":").find{|d| File.exists?(File.join(d, "zcat"))} ? "zcat" : "gzcat")
terms.empty? ? ["#{cat_tool} filename"] : ['zgrep options -e term filename'] + ['grep options -e term'] * (terms.size-1)
end

0 comments on commit 74f93db

Please sign in to comment.