cat file | … vs … <file

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

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

7条回答
  •  别那么骄傲
    2020-12-16 14:16

    cat will allow you to pipe multiple files in sequentially. Otherwise, < redirection and cat file | produce the same side effects.

提交回复
热议问题