是否可以使用Linux管道创建循环?例如.
cmd1 | cmd2 | cmd3 | ‘back to stdin cmd1’
换句话说,我想将cmd3上的stdout连接回cmd1的stdin.
mkfifo cmd3-to-cmd1 cmd1 < cmd3-to-cmd1 | cmd2 | cmd3 >> cmd3-to-cmd1