中文 man

新手涉及到的教学或入门贴,推荐新手必看,版主维护
回复
superstar
帖子: 36
注册时间: 2006-06-08 11:12

请上传man-pages-zh_CN-1.5.tar.gz

#46

帖子 superstar » 2006-06-12 17:59

man-pages-zh_CN-1.5.tar.gz 下载不到了,请上传一下。
我先谢谢了!
不败的神话
帖子: 6
注册时间: 2006-06-19 10:38

#47

帖子 不败的神话 » 2006-06-19 11:01

g 一时还是不试了!
springlarry
帖子: 286
注册时间: 2006-06-08 8:53

还是看英文的好

#48

帖子 springlarry » 2006-06-19 11:22

毕竟要接触英文,多学英文比看翻译的好
头像
yang_hui1986527
帖子: 911
注册时间: 2006-03-04 23:10
来自: 江西高安
联系:

#49

帖子 yang_hui1986527 » 2006-07-05 4:38

下不了,建议更新连接活是上传附件!
微信:sn0wdr1am86
QQ: 3217680847
QQ 群:82695646
网站:https://www.itcoder.tech/
网站:http://www.snowdream.tech/
linuxkinger
帖子: 44
注册时间: 2006-07-11 14:12

#50

帖子 linuxkinger » 2006-07-18 10:23

我也下不了
头像
xxdaystar
帖子: 225
注册时间: 2006-07-28 14:58
来自: 廣州

#51

帖子 xxdaystar » 2006-08-05 0:00

1楼的包下载不了;34楼里链接里的内容居然不完整;实在看不懂eexpress那么‘简单’ 的方法。可不可以说详细点。很期待,thx。
头像
xxdaystar
帖子: 225
注册时间: 2006-07-28 14:58
来自: 廣州

#52

帖子 xxdaystar » 2006-08-05 19:30

:D
再看了一下,解决了。原来ee的那个是个脚本。
没看清的人看下:

1。 sudo apt-get install manpages-zh
2. 把eexpress的脚本写进一个文件里(假如xxxx)

代码: 全选

   #!/bin/bash 
cd /usr/share/man/zh_CN/ 
for k in * 
do 
cd $k 
for i in *.gz 
do 
   j=`echo ${i%\.gz}` 
   gunzip $i 
   iconv -f gb18030 -t utf8 $j >tmp 
   mv tmp $j 
   gzip $j 
done 
cd .. 
done
3。 sudo chmod 777 xxxx
4. sudo ./xxxx 完了之后删掉脚本。
5。 照楼主的方法改一下路径,加在前面。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#53

帖子 eexpress » 2006-08-05 20:05

呀。就是就是。我这个方法和系统升级同步的。路径不需要修改的
那脚本也别删除吧。留个纪念啊。

:em02
● 鸣学
头像
xxdaystar
帖子: 225
注册时间: 2006-07-28 14:58
来自: 廣州

#54

帖子 xxdaystar » 2006-08-05 20:22

刚才又拿几个命令试了一下,不改路径的确不行啊. 而且没有cman命令...怎么回事??
不过好像有点不同,为什么第一页里mount已经是中文了,源上的还没有中文?难道少了一些?
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#55

帖子 eexpress » 2006-08-05 20:29

exp@eexpress:~$ cat /etc/manpath.config|grep zh_CN
exp@eexpress:~$
是说这个文件?我的没修改过啊。

源的一直是1.5的中文版本。多半没人维护。记得ibm-128有中文man。怎么不进源,让大家好升级哦。
● 鸣学
头像
xxdaystar
帖子: 225
注册时间: 2006-07-28 14:58
来自: 廣州

#56

帖子 xxdaystar » 2006-08-05 20:41

:?: :?:
注销掉时:
xxdaystar@myubuntu:~$ cat /etc/manpath.config|grep zh_CN
#MANDATORY_MANPATH /usr/share/man/zh_CN
#MANPATH_MAP /bin /usr/share/man/zh_CN
#MANPATH_MAP /usr/bin /usr/share/man/zh_CN
#MANPATH_MAP /sbin /usr/share/man/zh_CN
#MANPATH_MAP /usr/sbin /usr/share/man/zh_CN
#MANPATH_MAP /usr/games /usr/share/man/zh_CN
#MANDB_MAP /usr/share/man /zh_CN /var/cache/man
xxdaystar@myubuntu:~$ man find (改:应是这样的,我是先man了之后贴上来然后再q到回去copy上一段)

FIND(1) FIND(1)

NAME
find - search for files in a directory hierarchy

SYNOPSIS
find [-H] [-L] [-P] [path...] [expression]

DESCRIPTION
This manual page documents the GNU version of find. GNU find searches
the directory tree rooted at each given file name by evaluating the
given expression from left to right, according to the rules of prece‐
dence (see section OPERATORS), until the outcome is known (the left
hand side is false for and operations, true for or), at which point
find moves on to the next file name.

If you are using find in an environment where security is important
(for example if you are using it to seach directories that are writable
by other users), you should read the "Security Considerations" chapter
of the findutils documentation, which is called Finding Files and comes
with findutils. That document also includes a lot more detail and
discussion than this manual page, so you may find it a more useful
source of information.
Manual page find(1) line 1

------------------------------------------------------------------------------------------------------
没注销时:
xxdaystar@myubuntu:~$ cat /etc/manpath.config|grep zh_CN
MANDATORY_MANPATH /usr/share/man/zh_CN
MANPATH_MAP /bin /usr/share/man/zh_CN
MANPATH_MAP /usr/bin /usr/share/man/zh_CN
MANPATH_MAP /sbin /usr/share/man/zh_CN
MANPATH_MAP /usr/sbin /usr/share/man/zh_CN
MANPATH_MAP /usr/games /usr/share/man/zh_CN
MANDB_MAP /usr/share/man /zh_CN /var/cache/man
xxdaystar@myubuntu:~$ man find

FIND(1L) FIND(1L)

NAME
find - 递归地在层次目录中处理文件

总览 SYNOPSIS
find [path...] [expression]

描述 DESCRIPTION
这个文档是GNU版本 find 命令的使用手册。 find 搜索目录树上的每一个文件名
,它从左至右运算给定的表达式,按照优先规则(见运算符OPERATORS一节)进行匹
配,直到得出结果(左边运算在 ’与’ 操作中得出假,在’或’ 操作中得出真),
然后 find 移向下一个文件名。

第一个以 ’-’ , ’(’ , ’)’ , ’,’ 或 ’!’ 这些字符起始的参数是表达式的开始;
在 它之前的任何参数是要搜索的路径,在它之后的任何参数都是表达式的余下部
分。如果没有路径参数,缺省用当前目录。如果没有表达式,缺 省 表 达 式 用
’-print’.

当所有文件都成功处理时 find 退出并返回状态值0。如果发生错误则返回一个大
于0的值。

表达式 EXPRESSIONS
Manual page find(1) line 1
上次由 xxdaystar 在 2006-08-05 20:57,总共编辑 1 次。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#57

帖子 eexpress » 2006-08-05 20:44

注销以后,怎么执行命令呢? 用的什么帐号啊。而且源的,应该是直接修改了其他地方的什么设置路径。所以我的都没修改过路径。
● 鸣学
头像
xxdaystar
帖子: 225
注册时间: 2006-07-28 14:58
来自: 廣州

#58

帖子 xxdaystar » 2006-08-05 20:45

:wink:
不大清楚,怎么会这这样.我的系统还蛮新的呢.
发现有中文的umount, 而没有mount. :P
头像
xxdaystar
帖子: 225
注册时间: 2006-07-28 14:58
来自: 廣州

#59

帖子 xxdaystar » 2006-08-05 20:47

我的是楼主说的zh_CN加在了原来的前面,并没有覆盖原来的呀.注销掉相当于原文件没改.
第一个命令考与粘贴的时候没弄好应该,不然怎么会有那样东西. :lol:
找多个人试试.
lk_517
帖子: 200
注册时间: 2006-07-23 15:02
联系:

#60

帖子 lk_517 » 2006-08-05 21:54

按照eexpress搞定,不需要修改路径

谢谢
回复