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