on master help sign in
Update README.md
commitd83c93c8059eb0d44074880552d9cc366944d427 authorDavid Peter <sharkdp@users.noreply.github.com> dateSun 7 Oct 2018, 18:39 (8 years ago) parentfc8fd1e
1 file changed+6−3
README.md+6−3
README.md+6−3
@@ -53,16 +53,19 @@ Display multiple files at once
5353> bat src/*.rs
5454```
5555
56−Read from stdin, explicitly specify the language
56+Read from stdin, determine the syntax automatically
5757
5858```bash
59−> yaml2json .travis.yml | json_pp | bat -l json
59+> curl -s https://sh.rustup.rs | bat
6060```
6161
62+Read from stdin, specify the language explicitly
63+
6264```bash
63−> curl -s https://raw.githubusercontent.com/sharkdp/bat/master/src/main.rs | bat -l rs
65+> yaml2json .travis.yml | json_pp | bat -l json
6466```
6567
68+
6669As a replacement for `cat`:
6770
6871```bash