How bash does not support redirecting stderr to /dev/null when using read redirection inside command substitution is F*CKING ANNOYING.
x=$(</foo/non_exitence_file.txt 2>/dev/null)

Why do people still use this shit of a shell?

  • 8
    Because it's supported on 90% of servers?

    Because it does exactly what it was designed to do?

    Because Brian Fox hates you?

    Pick three.
  • 2
    @sariel 😂😂😂
Add Comment