diff options
Diffstat (limited to 'tools/with-tee.bash')
-rwxr-xr-x | tools/with-tee.bash | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/with-tee.bash b/tools/with-tee.bash new file mode 100755 index 000000000000..60c331326d28 --- /dev/null +++ b/tools/with-tee.bash @@ -0,0 +1,5 @@ +#!/bin/bash + +echo "${@:2} | tee $1" + +${@:2} | tee $1 |