From: Alexander Barton Date: Wed, 20 Jan 2016 10:34:17 +0000 (+0100) Subject: "brew rdeps": Do't detect Formula itself X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=homebrew-alex.git;a=commitdiff_plain;h=8db206997d3094012595c4e6e330cf87d60a5deb "brew rdeps": Do't detect Formula itself Signed-off-by: Alexander Barton --- diff --git a/cmd/brew-rdeps b/cmd/brew-rdeps index 231bc91..34aa34b 100755 --- a/cmd/brew-rdeps +++ b/cmd/brew-rdeps @@ -1,8 +1,8 @@ #!/bin/sh -# 2016-01-17, alex@barton.de +# 2016-01-20, alex@barton.de for formula in "$@"; do brew deps --installed --skip-build \ - | grep "\b$formula\b" \ + | grep " $formula\b" \ | cut -d':' -f1 done | sort -u