Hello again!
I had a realisation last night that I was probably truncating the previous
stderr output by not supplying the -a argument to tee. After some testing
this morning, I can happily say that the following script works as expected:
test.sh:
#!/bin/bash
echo "out"
echo "err" >&2
echo "err
Hi all,
I have some jobs which write error messages to stderr, and I've noticed
that the stderr output is not being written to file. Here is a simple
reproduction case:
test.sh:
#!/bin/bash
echo "out"
echo "err" >&2
echo "err 2" 1>&2
>&2 echo "err 3"
echo "err 4" >/dev/stderr
echo "err 5" 1>/dev