computer_knowledge_notes/Software/文本转换/col.md

24 lines
365 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#### 简介
很多UNIX文档里都有RLF控制字符。当把这些控制字符重定向到文件里的时候就会变成乱码col指令可以有效过滤这些控制字符。
col工具从标准输入读取将结果写入标准输出。
#### 语法
```
col [options]
```
#### 选项
```
-b, --no-backspaces # 不输出backspaces
-f
-p
-h
-x
-l
```