Skip to content

Commit

Permalink
Updates for 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed May 31, 2018
1 parent e27bdfc commit bf5883f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ default-features = false
features = []

[dependencies.syntect]
git = "https://github.com/trishume/syntect"
rev = "c025dad49564e96322df4468fd268b65b91b2eae"
# version = "2"
version = "2.1"
default-features = false
features = ["parsing", "yaml-load", "dump-load", "dump-create"]

Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bf5883f

Please sign in to comment.