Bash to print out result and set to a variable at the same time

前端 未结 0 624
栀梦
栀梦 2021-02-06 02:56

I have a custom function taking long time to execute. I want to see what\'s output and at the same time setting the output to a variable so that it can be post-processed.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题