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