Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

brew: add 'cat' command

  • Loading branch information...
commit c477846c7de240231fc21f51cf7c8938663e7325 1 parent a6ac1e5
Alexander Solovyov authored mxcl committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/brew
View
4 bin/brew
@@ -297,6 +297,10 @@ begin
when 'branch', 'checkout', 'pull', 'push', 'reset'
onoe "Unknown command: #{arg} (did you mean 'git #{arg}'?)"
+ when 'cat'
+ Dir.chdir HOMEBREW_REPOSITORY
+ exec "cat", ARGV.formulae.first.path, *ARGV.options
+
else
onoe "Unknown command: #{arg}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.