Tail a Pipe Using Less
less_tail() { | |
tmp_file=`mktemp -t lesstail` | |
$@ > $tmp_file & | |
less +F $tmp_file | |
kill % | |
rm $tmp_file | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment