输出-- fold
2016-03-01 16:56
609 查看
fold 指令会从指定的文件里读取内容,将超过限定列宽的列加入增列字符后,输出到标准输出设备。
若不指定任何文件名称,或是所给予的文件名为"-",则fold指令会从标准输入设备读取数据。
语法
-s或--spaces 以空格字符作为换列点。
-w<每列行数>或--width<每列行数> 设置每列的最大行数。
--help 在线帮助。
--version 显示版本信息。
======================手册=========================
若不指定任何文件名称,或是所给予的文件名为"-",则fold指令会从标准输入设备读取数据。
语法
fold [-bs][-w<每列行数>][--help][--version][文件...]参数:-b或--bytes 以Byte为单位计算列宽,而非采用行数编号为单位。
-s或--spaces 以空格字符作为换列点。
-w<每列行数>或--width<每列行数> 设置每列的最大行数。
--help 在线帮助。
--version 显示版本信息。
======================手册=========================
用法概要 fold [OPTION]... [FILE]... 描述 User Commands FOLD(1) NAME fold - wrap each input line to fit in specified width SYNOPSIS fold [OPTION]... [FILE]... DESCRIPTION Wrap input lines in each FILE (standard input by default), writing to standard output. Mandatory arguments to long options are mandatory for short options too. -b, --bytes count bytes rather than columns -s, --spaces break at spaces -w, --width=WIDTH use WIDTH columns instead of 80 --help display this help and exit --version output version information and exit AUTHOR Written by David MacKenzie. REPORTING BUGS Report fold bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/core- utils/> General help using GNU software: <http://www.gnu.org/geth- elp/> Report fold translation bugs to <http://translationpro- GNU coreutils 8.16 Last change: March 2012 2
相关文章推荐
- Linux socket 初步
- Linux Kernel 4.0 RC5 发布!
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)
- Linux 信号signal处理机制
- linux下mysql添加用户
- Scientific Linux 5.5 图形安装教程
- Linux 下无损图片压缩小工具介绍