Hacker News new | ask | show | jobs
by bitofhope 1345 days ago
You can technically pipe to streams other than &1 and &2, so you could use

  printf "WARNING: %s" "$warn_msg" >&3
But of course, nonstandard.