很忧郁地问一句:有谁知道tar的历史??

编译打包和其他
回复
benfeizhuzi
帖子: 43
注册时间: 2008-05-31 13:43

很忧郁地问一句:有谁知道tar的历史??

#1

帖子 benfeizhuzi » 2009-11-22 20:52

man上竟然是这个描述:
HISTORY
The tar command appeared in Version 7 AT&T UNIX.

BUGS
The GNU folks, in general, abhor man pages, and create info documents instead. Unfortu‐
nately, the info document describing tar is licensed under the GFDL with invariant cover
texts, which makes it impossible to include any text from that document in this man page.
Most of the text in this document was automatically extracted from the usage text in the
source. It may not completely describe all features of the program.

觉得tar挺可怜的。。。。。。 :em01 :em01
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
联系:

Re: 很忧郁地问一句:有谁知道tar的历史??

#2

帖子 adam8157 » 2009-11-22 23:24

呃....man里面的用法还不够么....而且我这(debian sid)tar的info和man一样...

PS:GNU真的是在做大工程而不是黑客和Geek那么简单啊....虽然我喜欢传统的unix文化多些,,呵呵
头像
hubert_star
论坛版主
帖子: 5373
注册时间: 2007-10-29 22:12
系统: OSX 10.9 + Ub 1304
来自: 江苏南京

Re: 很忧郁地问一句:有谁知道tar的历史??

#3

帖子 hubert_star » 2009-11-23 0:32

代码: 全选


File: tar.info,  Node: Option Summary,  Next: Short Option Summary,  Prev: Operation Summary,  Up: All Options

3.4.2 `tar' Options
-------------------

`--absolute-names'
`-P'
     Normally when creating an archive, `tar' strips an initial `/'
     from member names.  This option disables that behavior.  *Note
     absolute::.

`--after-date'
     (See `--newer', *note after::)

`--anchored'
     A pattern must match an initial subsequence of the name's
     components.  *Note controlling pattern-matching::.

`--atime-preserve'
`--atime-preserve=replace'
`--atime-preserve=system'
     Attempt to preserve the access time of files when reading them.
     This option currently is effective only on files that you own,
     unless you have superuser privileges.

     `--atime-preserve=replace' remembers the access time of a file
     before reading it, and then restores the access time afterwards.
     This may cause problems if other programs are reading the file at
     the same time, as the times of their accesses will be lost.  On
     most platforms restoring the access time also requires `tar' to
     restore the data modification time too, so this option may also
     cause problems if other programs are writing the file at the same
     time.  (Tar attempts to detect this situation, but cannot do so
     reliably due to race conditions.)  Worse, on most platforms
     restoring the access time also updates the status change time,
     which means that this option is incompatible with incremental
--zz-Info:(tar.info.bz2)Option Summary,791 行 --Top-- 子文件:tar.info-1.bz2-

某一段

我的info要比man全多了

debian确实少了很多东西

gentoo这个就很全
佛经说,人有八苦: 生、老、病、死、求不得、怨憎、爱别离、五阴盛 故我苦!
圣经说,人有七罪: 饕餮、贪婪、懒惰、淫欲、傲慢、嫉妒和暴怒  故我有罪!

我这篇帖子里面没有任何攻击我们伟大的中华人民共和国政府和任劳任怨的人民公仆(和本论坛高素质的版主)的文字和含义;

特此声明!

有些事,我们明知道是错的,也要去坚持,因为不甘心;有些人,我们明知道是爱的,也要去放弃,因为没结局;有时候,我们明知道没路了,却还在前行,因为习惯了。

欢迎来我的新浪微博@me
poet
帖子: 2841
注册时间: 2006-09-11 22:47

Re: 很忧郁地问一句:有谁知道tar的历史??

#4

帖子 poet » 2009-11-23 16:48

adaml 写了:呃....man里面的用法还不够么....而且我这(debian sid)tar的info和man一样...
info 有一个很恶心的功能,我至今不知道怎么关闭它。
那就是,当一个文档的 info 文档根本不存在时,它不提示你不存在,而是直接载入它的 man。

所以,你的问题其实是根本没有 apt-get install tar-doc (这个缺省是不安装的)

但是,你以为tar的info本来是你看到的那个样子。

debian 的 info 虽然有删节,但绝对不会比 man 还少或者跟 man 一样。
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
联系:

Re: 很忧郁地问一句:有谁知道tar的历史??

#5

帖子 adam8157 » 2009-11-23 18:21

poet 写了:
adaml 写了:呃....man里面的用法还不够么....而且我这(debian sid)tar的info和man一样...
info 有一个很恶心的功能,我至今不知道怎么关闭它。
那就是,当一个文档的 info 文档根本不存在时,它不提示你不存在,而是直接载入它的 man。

所以,你的问题其实是根本没有 apt-get install tar-doc (这个缺省是不安装的)

但是,你以为tar的info本来是你看到的那个样子。

debian 的 info 虽然有删节,但绝对不会比 man 还少或者跟 man 一样。
学习了...
头像
hubert_star
论坛版主
帖子: 5373
注册时间: 2007-10-29 22:12
系统: OSX 10.9 + Ub 1304
来自: 江苏南京

Re: 很忧郁地问一句:有谁知道tar的历史??

#6

帖子 hubert_star » 2009-11-23 18:43

info的本意是替代man,所以设计上完全兼容man的数据

当不存在info数据时,直接去找man的数据

而且,info的控制脚本也没有,内置逻辑
佛经说,人有八苦: 生、老、病、死、求不得、怨憎、爱别离、五阴盛 故我苦!
圣经说,人有七罪: 饕餮、贪婪、懒惰、淫欲、傲慢、嫉妒和暴怒  故我有罪!

我这篇帖子里面没有任何攻击我们伟大的中华人民共和国政府和任劳任怨的人民公仆(和本论坛高素质的版主)的文字和含义;

特此声明!

有些事,我们明知道是错的,也要去坚持,因为不甘心;有些人,我们明知道是爱的,也要去放弃,因为没结局;有时候,我们明知道没路了,却还在前行,因为习惯了。

欢迎来我的新浪微博@me
头像
pityonline
帖子: 3864
注册时间: 2008-12-09 12:44
来自: 北京
联系:

Re: 很忧郁地问一句:有谁知道tar的历史??

#7

帖子 pityonline » 2009-11-23 19:19

这是我查看有关tar的帮助的信息:

您的内容包含 86273 字节, 而允许的最大字节数为 60000.
看附件吧……
附件为.txt的文件名是禁止的,所以下载后直接去掉.gz。
附件
tar-man5.txt.gz
(26.41 KiB) 已下载 43 次
tar-man.txt.gz
(6.74 KiB) 已下载 29 次
tar-info.txt.gz
(39.54 KiB) 已下载 49 次
tar-help.txt.gz
(13.06 KiB) 已下载 43 次
Pity is the bomp!
活着就是折腾!生命不息,折腾不止!
看这帮家伙在干什么?@pityonline/u
Dropbox+Vps+PC 跑起来了!这是邀请链接
回复