- 授权协议: Public Domain
- 开发语言:
- 操作系统: Linux
- 软件首页: http://commandlinefu.cn/
- 软件文档: https://github.com/tg123/commandlinefu.cn/
软件介绍
commandlinefu.cn
打造 中文版的 http://commandlinefu.com
贡献你的力量
- 下载代码
$ git clone https://github.com/tg123/commandlinefu.cn.git cd commandlinefu.cn
- 寻找一个没有翻译的文件 (会调用你的 $EDITOR 来编辑这个文件)
./tools/translateone.sh
- 翻译参考
$ git diff _data/head_n_20_filename_tail.yaml diff --git a/_data/head_n_20_filename_tail.yaml b/_data/head_n_20_filename_tail.yaml index b5d0efe..970e1a8 100644 --- a/_data/head_n_20_filename_tail.yaml +++ b/_data/head_n_20_filename_tail.yaml @@ -1,8 +1,7 @@ commandlinefu_id: 7044 translator: - weibo: '' -hide: true + weibo: tgic command: |- head -n 20 | tail summary: |- - Print all the lines between 10 and 20 of a file + 输出文件的10到20行
-
说明
- weibo: tgic 会在页面显示出 @tgic 翻译
- 删除 hide: true 自动构建程序会知道你已经翻译了这个文件
- 内容就是 summary 编译成汉语就好了 当然命令你也可以修改
- 发送你的 pull request
实现原理
网站使用 jekyll 构建. 可以通过运行
jekyll build
在本地构建你的网站
依赖的插件
关于使用commandlinefu.com内容
commandlinefu.com 站长 David Winterbottom :
You're welcome to re-publish the commandlinefu content.
