Skip to content

Brew misinterprets # as formulae name #6114

Closed Answered by gromgit
MatchaOnMuffins asked this question in Everyday usage
Discussion options

You must be logged in to vote

Comments are supposed to be removed by the shell, not passed to commands. Sounds like you turned interactive comments off in your bash config. From the bash man page:

In a non-interactive shell, or an interactive shell in which the interactive_comments option to the shopt builtin is enabled (see SHELL BUILTIN COMMANDS below), a word beginning with # causes that word and all remaining characters on that line to be ignored. An interactive shell without the interactive_comments option enabled does not allow comments. The interactive_comments option is on by default in interactive shells.

Not a Homebrew maintainer, but I don't think it's a good idea for Homebrew to ignore users' shell confi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by carlocab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants