Why this behaviour when duplicating file descriptor?

前端 未结 0 751
醉话见心
醉话见心 2020-12-10 11:18

I\'m learning about file descriptors in unix at the moment:

echo \'bat\' 1>&1 | sed \'s/b/c/\'
echo \'bat\' 2>&1 | sed \'s/b/c/\'
相关标签:
回答
  • 消灭零回复
提交回复
热议问题