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.
Those 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 rm
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 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 rm
brew leaves> leaves
brew rm $(brew deps mtr | join leaves -)