Provided by: manpages-zh_1.6.3.6-1_all 

名稱
shuf - 生成隨機排列
概述
shuf [選項]... [檔案]
shuf -e [選項]... [引數]...
shuf -i LO-HI [選項]...
描述
把輸入行按隨機順序輸出到標準輸出。
如果沒有指定檔案,或者指定檔案為“-”,則從標準輸入讀取。
必選引數對長短選項同時適用。
-e, --echo
將每個引數視為輸入行
-i, --input-range=LO-HI
將 LO 到 HI 的每個數字視為輸入行
-n, --head-count=行數
最多輸出指定的行數
-o, --output=檔案
將結果輸出到指定檔案而非標準輸出
--random-source=檔案
從指定檔案獲得隨機位元組
-r, --repeat
輸出行可以重複
-z, --zero-terminated
以 NUL 作為行的分隔符,而非換行符
--help 顯示此幫助資訊並退出
--version
顯示版本資訊並退出
作者
由 Paul Eggert 編寫。
報告錯誤
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/shuf>
或者在本地使用: info '(coreutils) shuf invocation'
跋
本頁面中文版由中文 man 手冊頁計劃提供。
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh
GNU coreutils 8.32 2020年三月 SHUF(1)