Run a command whenever another command prints a line to stdout

后端 未结 0 775
栀梦
栀梦 2021-01-24 01:19

I am looking for a way to "listen" to the stdout of a command and execute another command whenever a line in stdout is detected. It would seem like xargs does exactly

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