From e428ca55bedf37d5a0d02ccbf48beae7312eb6cf Mon Sep 17 00:00:00 2001 From: metacollin Date: Thu, 19 Nov 2020 20:43:09 -0700 Subject: [PATCH] Removed escape \ in front of commands --- Library/Homebrew/cmd/formulae.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/cmd/formulae.sh b/Library/Homebrew/cmd/formulae.sh index f543def388..3cf596aa93 100644 --- a/Library/Homebrew/cmd/formulae.sh +++ b/Library/Homebrew/cmd/formulae.sh @@ -5,9 +5,9 @@ homebrew-formulae() { local formulae - formulae="$(\find "$HOMEBREW_REPOSITORY"/Library/Taps -type d \( -name Casks -o -name cmd -o -name .github \) -prune -false -o -name '*rb' |\ - \sed -E -e 's/\.rb//g' -e 's_.*/Taps/(.*)/(home|linux)brew-_\1/_' -e 's|/Formula/|/|')" + formulae="$(find "$HOMEBREW_REPOSITORY"/Library/Taps -type d \( -name Casks -o -name cmd -o -name .github \) -prune -false -o -name '*rb' |\ + sed -E -e 's/\.rb//g' -e 's_.*/Taps/(.*)/(home|linux)brew-_\1/_' -e 's|/Formula/|/|')" local shortnames - shortnames="$(echo "$formulae" | \cut -d / -f 3)" - echo -e "$formulae \n $shortnames" | \grep -v '^homebrew/' | \sort -uf + shortnames="$(echo "$formulae" | cut -d / -f 3)" + echo -e "$formulae \n $shortnames" | grep -v '^homebrew/' | sort -uf }