- 就重定向到文件的时候,有些内容带
控制字符 , col 就可以移除掉,我不知道对不对网上看来的,有其它好方法求赐教,比如 man find >m-find.txt 或者 `tree -L 1 >tree-1.txt
- col 这个命令的源码在哪?如何找到最新版?
NAME
col -- filter reverse line feeds from input
SYNOPSIS
col [-bfhpx] [-l num]
DESCRIPTION
The col utility filters out reverse (and half reverse) line feeds so that the output is in the correct order with only forward and half forward line feeds, and replaces white-space characters with tabs where possible. This can be useful in processing the output of nroff(1) and tbl(1).
HISTORY
A col command appeared in Version 6 AT&T UNIX.