Multiline syntax for piping a heredoc; is this portable?

前端 未结 4 1508
北恋
北恋 2020-12-12 14:54

I\'m familiar with this syntax:

cmd1 << EOF | cmd2
text
EOF

but just discovered that bash allows me to write:

cmd1 &         


        
4条回答
提交回复
热议问题