aboutsummaryrefslogtreecommitdiff
path: root/bin/qat.sh
blob: 19acbf5a20a795f64047f1fb470f6d0b0a3c4da9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
restore() {
    if [ -n "$stty" ] ; then
        stty "$stty"
    fi
}
trap restore EXIT
if [ -t 0 ] ; then
    stty=$(stty -g)
    stty -echo
fi
cat