File: output

package info (click to toggle)
lmbench 3.0-a9%2Bdebian.1-10
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 3,028 kB
  • sloc: ansic: 12,328; perl: 6,531; sh: 2,784; makefile: 733
file content (10 lines) | stat: -rwxr-xr-x 225 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
trap "echo /dev/null" 20
OUTPUT=/dev/null; export OUTPUT
if [ -w /dev/tty ]; then
        if echo "" > /dev/tty; then
                OUTPUT=/dev/tty; export OUTPUT
        fi
fi 2>/dev/null
echo "${OUTPUT}"
exit 0