Created
August 25, 2013 19:40
-
-
Save ericwoodruff/6335818 to your computer and use it in GitHub Desktop.
forever doless
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function forever () { while [ TRUE ]; do "$@"; done} | |
function doless () { | |
"$@" 2>&1 | tee /dev/stderr | less —buffers=-1 —chop-long-lines —shift 16 —RAW-CONTROL-CHARS —quit-on-intr +G | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment