Tagged Questions
4
votes
2answers
134 views
Redirect stderr of the double-parentheses construct
I'd like to be able to redirect the stderr of a double-parentheses construct.
For example:
a=$(($var/$var2))
would output some error messages if $var2 = 0, I do not want the user to see this.
I ...