I am writing a script in BASH. I have a function within the script that I want to provide progress feedback to the user. Only problem is that the echo command does not print
send terminal output to stderr:
function test_function { echo "Echo value to terminal" >&2 echo "return value" }