News for hackers. Stuff that matters.
Re:Stupid Unix Tricks by jolmg on Thursday October 17, 2019 @11:37AM (#21283185)
It seems you miswrote, or the author corrected himself. Right now it's:

  if which brew >/dev/null 2>&1 ; then
      brew install jq
  fi
Which would hide the error message. The code you posted outputs:

  brew not found
  /dev/null not found
Re:Stupid Unix Tricks by lmm on Thursday October 17, 2019 @12:12PM (#21283514)
It's impractical to determine whether Hacker New's undocumented formatting language is going to eat any given angle bracket ahead of time. I suspect OP wrote something correct and the site has mangled it.
Re:Stupid Unix Tricks by asaph on Thursday October 17, 2019 @09:56PM (#21287999)
It got messed up when I was trying to format it, unfortunately. But my point still stands.