Scroll to navigation

UNEXPAND(1) 用戶命令 UNEXPAND(1)

名稱

unexpand - 將空格轉換爲製表符

概述

unexpand [選項]... [文件列表]...

描述

將所列文件中的空格轉換爲製表符,並輸出到標準輸出。

如果沒有指定文件,或者指定文件爲"-",則從標準輸入讀取。

必選參數對長短選項同時適用。

-a, --all
轉換所有的空格,而不僅僅是行首空格
--first-only
只轉換行首空格(覆蓋 -a 選項)
-t, --tabs=N
每 N 個字符作爲一個製表符而不是默認的 8 (啓用 -a 選項)
-t, --tabs=列表
use comma separated list of tab positions The last specified position can be prefixed with '/' to specify a tab size to use after the last explicitly specified tab stop. Also a prefix of '+' can be used to align remaining tab stops relative to the last specified tab stop instead of the first column
--help
顯示此幫助信息並退出
--version
顯示版本信息並退出

作者

由 David MacKenzie 編寫。

報告錯誤

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

版權

Copyright © 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://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.

參見

expand(1)

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

本頁面中文版由中文 man 手冊頁計劃提供。
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh
2017年10月 GNU coreutils 8.28