Re:Homebrew now sends usage information to Google Analytics
by alainv on Monday April 25, 2016 @06:24PM
(#11567886)
`rm -f` ignores nonexistent files so you could omit the `if` to be concise.
Re:Homebrew now sends usage information to Google Analytics
by tristor on Monday April 25, 2016 @10:51PM
(#11569106)
Good call. I was mainly using `-f` to suppress the prompt about deleting the file, but you're correct, it's unnecessary to have the if statement in this case.
BASH:
ZSH: Cheers.