aboutsummaryrefslogblamecommitdiff
path: root/sh/shrc.d/bc.sh
blob: 643678ac33ee76e547322eb1d3977613fea85bfb (plain) (tree)
1
2
3
4
5
6
7


                                                                       



                                       
# This function is only applicable if bc(1) has the non-POSIX -q option
command bc -q </dev/null >&0 2>&0 || return

# Don't print the bc(1) welcome message
bc() {
    command bc -q "$@"
}