You can direct output to stdout to stderr by using tee to pipe it to /dev/stderr. Like so:
echo 'hello' | tee /dev/stderr
will output 'hello' twice, one in stdout and one in stderr
Subscribe to:
Post Comments (Atom)
Python, MySQL and Your Mom
No comments:
Post a Comment