1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-10-29 22:24:35 +00:00

Updates for 0.4

This commit is contained in:
sharkdp
2018-05-31 22:57:18 +02:00
parent e27bdfc7d6
commit bf5883f06f
3 changed files with 16 additions and 7 deletions

View File

@@ -62,6 +62,17 @@ Read from stdin, explicitly specify the language
> curl -s https://raw.githubusercontent.com/sharkdp/bat/master/src/main.rs | bat -l rs
```
As a replacement for `cat`:
```bash
bat > note.md # quickly create a new file
bat header.md content.md footer.md > document.md
bat -n main.rs # show line numbers (only)
cat f - g # output 'f', then stdin, then 'g'.
```
## Installation