HOMEBREW – This command needs a key to a keg parameter mean?

I want to brew rm mtr and its deps, so I execute

brew rm mtr
brew rm $ (join <(brew leaves) <(brew deps mtr))

But it says that this command requires a bucket parameter. What's the argument of Keg?

Thank you.

I don’t think this command is doing what you think .

Those

brew rm

This requires an argument.

I like your attempt to use join without a temporary file. After looking at the man page, I am pretty sure you can’t do this.

Try this:

brew leaves> leaves
brew rm $(brew deps mtr | join leaves -)

I want to brew rm mtr and deps, so I execute

brew rm mtr
brew rm $(join <(brew leaves) <(brew deps mtr))

But it says that this command requires a bucket parameter. What is the argument of Keg?

Thank you.

I don’t think this command is doing what you think.

Those

brew rm

This requires an argument.

I like that you have no temporary files Try to use join in this case. After looking at the man page, I am pretty sure you can’t do this.

Try this:

brew leaves> leaves 
brew rm $(brew deps mtr | join leaves -)

Leave a Comment

Your email address will not be published.