LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1735|回复: 1

翻译的col,很多都不明白,红色下划线,请大侠指教,哭求(man本地化计划 qq组:28597414)

[复制链接]
发表于 2006-9-23 23:17:21 | 显示全部楼层 |阅读模式
我翻译的col,我很多不懂的概念,红色下划线,请大侠指教,哭求(man本地化计划 qq组:28597414)

我翻译了一下col,因为我用他辅助提取man文档,我们这个群组是个man本地化的组织,为了促进更多人接触,了解,使用linux。我们组织是非盈利性质的,每个人都可以维护他自己的翻译的文档,并且在不久会开辟专门站点,来发布大家的成果,版权属于个人。

我们的世界太小了,我们应该为大家做点事情了。:)

我们的文档有严格的格式,使之美观大方,具有文档的性质,同时又要保证翻译的精准性,但是,绝对不会因为您的英语不好会拒绝您,我们是个团队,是个互助的集体啊:)

废话太多了吧,呵呵,发一个col翻译的,有很多内容不太明白,大侠指正我啊,哭求。

另外我把这个col的doc文件放再附件里了。如果需要进一步改正,请下载,改正后联系我。
我的qq是5007088
man本地化qq群组:28597414

COL(1)                 BSD General Commands Manual                 COL(1)

NAME
col - filter reverse line feeds from input

SYNOPSIS
col [-bfpx] [-l num]

DESCRIPTION
col filters out reverse (and half reverse) line feeds so 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).

col reads from standard input and writes to standard output.

The options are as follows:

-b                Do not output any backspaces, printing only the last character written to each column position.

-f                Forward half line feeds are permitted (‘‘fine’’ mode). Normally characters printed on a half line boundary are printed on the following line.

-p                Force unknown control sequences to be passed through unchanged. Normally, col will filter out any control sequences from the input other than those recognized and interpreted by itself, which are listed below.

-x                Output multiple spaces instead of tabs.

-lnum        Buffer at least num lines in memory.  By default, 128 lines are buffered.

The control sequences for carriage motion that col understands and their decimal values are listed in the following table:

ESC-7                                reverse line feed (escape then 7)
ESC-8                                half reverse line feed (escape then 8)
ESC-9                                half forward line feed (escape then 9)
backspace                        moves back one column (8); ignored in the first column
     carriage return  (13)
newline                                forward line feed (10); also does carriage return
shift in                                shift to normal character set (15)
shift out                                shift to alternate character set (14)
space                                moves forward one column (32)
tab                                        moves forward to next tab stop (9)
     vertical tab     reverse line feed (11)

     All unrecognized control characters and escape sequences are discarded.

     col keeps track of the character set as characters are read and makes
     sure the character set is correct when they are output.

     If the input attempts to back up to the last flushed line, col will dis-
     play a warning message.

SEE ALSO
expand(1), nroff(1), tbl(1)

STANDARDS
The col utility conforms to the Single UNIX Specification, Version 2.
The -l option is an extension to the standard.

HISTORY
A col command appeared in Version 6 AT&T UNIX.

BSD                                                June 17, 1991                                                        BSD


============================================================================================================================================
======================================================================


COL(1)                                        BSD一般命令手册                                COL(1)

名称
        col 过滤输入的换行符

大纲
        col [-bfpx] [-l num]

描述
col命令过滤了翻转的(和半反向的)换行符以使输出能够正确的显示换行或者半换行的换行符。并且在可能的情况下移去表示空白的符号和tab所形成的符号。这会使由命令nroff(1) 和 tbl(1)命令的输出能够处理的十分顺利。

col命令从标准输入或者写出为标准输出。

选项有一下几个:

-b                从不输出任何的退格符,只是在每个列的位置打印最后的字符。

-f                前进的换行符允许使用(“妥当”模式)。一般情况下在半行边界的字符打印在在紧接着行。

-p        强制不改变不能被识别的控制串。一般情况下,col命令会过滤掉任何输入的控制串除非是在后面列出的col认识的或者是能解释的字符串。

-x                用多重的空格替换掉tab字符。

-lnum        至少缓冲num行。默认情况下,缓冲128行。

那些col命令可以理解的用来carriage motion的控制串,它们的十进制数列在下面的表格中

ESC-7                                后退换行(当7时换码)
ESC-8                                半个后退换行(当8时换码)
ESC-9                                半个前进换行(当9时换码)
backspace                        向回移动一列(8);忽略第一列的回车(13)
newline                                前进的换行符(10);同样有效于回车
shift in                                替换为一般的字符集(15)
shift out                                替换为备用的字符集(14)
space                                前进一列(32)
tab                                        向前移动到下一个制表符(9)
纵向列表符                        翻转的换行符(11)

所有的不能被识别的控制串和转移序列被抛弃。

col命令当字符被读取的时候记住了字符集,并且保证字符集再输出的时候是正确的。

如果输入尝试备份最后的缓冲行,col命令将显示一个警告信息。

请参阅
expand(1), nroff(1), tbl(1)

标准
col实用程序遵循《单一UNIX规范》,第二版。
-l选项是标准的一个扩展。

历史
一个col命令曾经出现在第六版的AT&T UNIX.

BSD                                                        1991年6月                                                BSD
============================================================================================================================================
======================================================================
注:
1.
Single UNIX Specification, Version 2.
单一UNIX规范

单一UNIX规范是描述标准UNIX操作系统的C语言程序和用户命令接口的行业标准。遵循单一UNIX规范的UNIX操作系统被允许使用UNIX商标。单一UNIX规范的开发目的是用来确保在一个UNIX操作系统上开发的程序可以在其他不同的UNIX操作系统上运行。规范归开放组织所有,这个组织是监管UNIX认证和品牌的行业组织。单一UNIX规范的最新版本是《UNIX 03》。
请注意,大多数的商务出版(包括TechTarget和whatis.com)都使用了混合大小写的“Unix”来通常指代各种从一个祖先发展而来的操作系统。开放组织的行业标准操作系统和品牌商标都是大写的UNIX。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2006-9-24 02:08:51 | 显示全部楼层
不明白.
“这是你翻译的?而你有一些文中提到的概念不懂?”
还是
“这是你找到的资料,你看不懂中文翻译和英文原文?”
---------
拜托, 请把中文说清楚:
“翻译的col”: 谁翻译的?
“请大侠指教”: 你是要大家帮你改正翻译错误,还是要大家说说文中的概念?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表