cat file | … vs … <file

前端 未结 7 1998
北荒
北荒 2020-12-16 13:59

Is there a case of ... or context where cat file | ... behaves differently than ... ?

相关标签:
7条回答
  • 2020-12-16 14:31

    cat file | starts up another program (cat) that doesn't have to start in the second case. It also makes it more confusing if you want to use "here documents". But it should behave the same.

    0 讨论(0)
提交回复
热议问题