BASENC(1) | 用戶命令 | BASENC(1) |
basenc - 編碼/解碼數據並輸出至標準輸出
basenc [選項]... [文件]
basenc 可以編碼/解碼文件或標準輸入輸出。
如果沒有指定文件,或者指定文件爲“-”,則從標準輸入讀取。
必選參數對長短選項同時適用。
解碼時,輸入數據(編碼流)可能包含一些換行符,以及不在有效字符範圍之內的字符。可以嘗試用 --ignore-garbage 選項來繞過編碼流中的無效字符。
$ printf '\376\117\202' | basenc --base64 /k+C $ printf '\376\117\202' | basenc --base64 /k+C $ printf '\376\117\202' | basenc --base32 7ZHYE=== $ printf '\376\117\202' | basenc --base32hex VP7O4=== $ printf '\376\117\202' | basenc --base16 FE4F82 $ printf '\376\117\202' | basenc --base2lsbf 011111111111001001000001 $ printf '\376\117\202' | basenc --base2msbf 111111100100111110000010 $ printf '\376\117\202\000' | basenc --z85 @.FaC
由 Simon Josefsson 和 Assaf Gordon 編寫。
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/basenc>
或者在本地使用: info
'(coreutils) basenc invocation'
本頁面中文版由中文
man 手冊頁計劃提供。
中文 man
手冊頁計劃:https://github.com/man-pages-zh/manpages-zh
2020年三月 | GNU coreutils 8.32 |