on master help sign in
translate Key Features & How to Use
commit159f234b78b5ad4e4f156a3a650410d4412bacc3 authorsh-tech <shoma.develop@gmail.com> dateThu 15 Nov 2018, 11:10 (8 years ago) parent3ec9612
1 file changed+20−31
doc/README-ja.md+20−31
doc/README-ja.md+20−31
@@ -7,80 +7,69 @@
77 A <i>cat(1)</i> clone with syntax highlighting and Git integration.
88</p>
99
10−<p align="center">
11− <a href="#syntax-highlighting">特徴</a> •
12− <a href="#how-to-use">使い方</a> •
13− <a href="#installation">インストール</a> •
14− <a href="#customization">カスタマイズ</a> •
15− <a href="#project-goals-and-alternatives">プロジェクトの目標と選択肢</a>
16− 公式ドキュメント [<a href="https://github.com/sharkdp/bat">英文</a>]
17− 翻訳 [<a href="https://github.com/chinanf-boy/bat-zh">中文</a>]
18−</p>
1910
20−### Syntax highlighting
11+### シンタックスハイライト
2112
22−`bat` supports syntax highlighting for a large number of programming and markup
23−languages:
13+`bat` は多くのプログラミング言語やマークアップ言語のシンタックスハイライトに対応しています。
2414
2515![Syntax highlighting example](https://imgur.com/rGsdnDe.png)
2616
27−### Git integration
17+### Gitの統合
18+
2819
29−`bat` communicates with `git` to show modifications with respect to the index
30−(see left side bar):
20+`bat` は `git` とも連携しており、差分を表現する記号が表示されます(図の左端):
3121
3222![Git integration example](https://i.imgur.com/2lSW4RE.png)
3323
34−### Show non-printable characters
24+### 空白文字の可視化
3525
36−You can use the `-A`/`--show-all` option to show and highlight non-printable
37−characters:
26+`-A`/`--show-all` オプションをつけることで、空白文字を可視化できます:
3827
3928![Non-printable character example](https://i.imgur.com/WndGp9H.png)
4029
41−### Automatic paging
30+### 自動呼び出し
4231
43−`bat` can pipe its own output to `less` if the output is too large for one screen.
32+出力が1つの画面に対して大きすぎる場合、`bat` は自身の出力を `less` にパイプで繋げることが可能です。
4433
45−### File concatenation
34+### ファイルの連結
4635
47−Oh.. you can also use it to concatenate files :wink:. Whenever
48−`bat` detects a non-interactive terminal (i.e. when you pipe into another process
49−or into a file), `bat` will act as a drop-in replacement for `cat` and
50−fall back to printing the plain file contents.
36+あなたはさらにファイルを連結させるに使うことも可能です:wink:。
37+`bat` は非対話型のターミナルを検出すると、いつでも `cat` の完全互換として振る舞い、
38+プレーンなファイルを表示します。
5139
52−## How to use
40+## 使い方
5341
54−Display a single file on the terminal
42+単一のファイルを表示させたい
5543
5644```bash
5745> bat README.md
5846```
5947
60−Display multiple files at once
48+複数のファイルを一度に表示させたい場合
6149
6250```bash
6351> bat src/*.rs
6452```
6553
66−Read from stdin, determine the syntax automatically
54+標準入力から自動的に構文を決定させたい場合
6755
6856```bash
6957> curl -s https://sh.rustup.rs | bat
7058```
7159
7260Read from stdin, specify the language explicitly
61+標準入力から明示的に言語を指定したい場合
7362
7463```bash
7564> yaml2json .travis.yml | json_pp | bat -l json
7665```
7766
78−Show and highlight non-printable characters:
67+空白文字を可視化させたい場合:
7968```bash
8069> bat -A /etc/hosts
8170```
8271
83−Use it as a `cat` replacement:
72+`cat` の代わりに `bat` を使用する際の例:
8473
8574```bash
8675bat > note.md # quickly create a new file