Provided by: manpages-zh_1.6.3.6-1_all bug

名稱

       tee - 從標準輸入讀入並寫往標準輸出和檔案

概述

       tee [選項]... [檔案列表]...

描述

       把標準輸入的資料複製到檔案列表中的每一個檔案,同時送往標準輸出。

       -a, --append
              追加到給出的檔案,而不是覆蓋

       -i, --ignore-interrupts
              忽略中斷訊號

       -p     對寫入非管道的行為排查錯誤

       --output-error[=模式]
              設定寫入出錯時的行為。見下面“模式”部分

       --help 顯示此幫助資訊並退出

       --version
              顯示版本資訊並退出

   模式確定向輸出寫入出錯時的行為:
       'warn' 對向任何檔案輸出出錯的情況進行診斷

       'warn-nopipe'
              對向除了管道以外的任何檔案輸出出錯的情況進行診斷

       'exit' 一旦輸出出錯,則退出程式

       'exit-nopipe'
              一旦輸出出錯且非管道,則退出程式

       -p 選項的預設模式是“warn-nopipe”。當 --output-error 沒有給出時,預設的操作是在向管道寫入出
       錯時立刻退出,且在向非管道寫入出錯時對問題進行診斷。

作者

       由 Mike Parker, Richard M. Stallman 和 David MacKenzie 編寫。

報告錯誤

       GNU coreutils 的線上幫助: <https://www.gnu.org/software/coreutils/>
       請向 <https://translationproject.org/team/zh_CN.html> 報告翻譯錯誤。

版權

       Copyright © 2020 Free Software Foundation, Inc.  License GPLv3+:  GNU  GPL  version  3  or
       later <https://gnu.org/licenses/gpl.html>.
       This  is free software: you are free to change and redistribute it.  There is NO WARRANTY,
       to the extent permitted by law.

參見

       完整文件請見: <https://www.gnu.org/software/coreutils/tee>
       或者在本地使用: info '(coreutils) tee invocation'

       本頁面中文版由中文 man 手冊頁計劃提供。
       中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh