Project

General

Profile

1
#!/bin/sh
2
# Runs a command, copying stderr to the TTY
3
# Usage: self command args...
4

    
5
"$@" 3>&2 2>&1 1>&3|tee /dev/tty 3>&2 2>&1 1>&3
(5-5/66)