0
主題Why is this pipe terminated?解釋,爲什麼一個管可以通過過早「頭部」被關閉:這是爲什麼管不終止
find/| head
那麼,爲什麼下面的管道不是「頭」關閉?
find/-exec zgrep -l 'a' {} \; | head
用grep代替zgrep產生大量的
find: "grep" terminated by signal 13
警告,但儘管如此,管道保持活躍。有沒有什麼辦法可以結合'grep'預先停止'查找'?