mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-21 23:33:26 +01:00
Clarify more wording when reading from stdin
Update the word 'initial' to be 'first', as this is more ubiquitous and potentially easier for non-native speakers. Clarify that it is the highlighting that may not work, and the input will still be displayed regardless.
This commit is contained in:
parent
fca83bf79a
commit
6e3e7dafca
@ -62,9 +62,9 @@ Display multiple files at once
|
|||||||
> bat src/*.rs
|
> bat src/*.rs
|
||||||
```
|
```
|
||||||
|
|
||||||
Read from stdin, determine the syntax automatically (note, this will only work
|
Read from stdin, determine the syntax automatically (note, highlighting will
|
||||||
if the syntax can be determined from the initial line of the file, usually
|
only work if the syntax can be determined from the first line of the file,
|
||||||
through a shebang such as `#!/bin/sh`)
|
usually through a shebang such as `#!/bin/sh`)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
> curl -s https://sh.rustup.rs | bat
|
> curl -s https://sh.rustup.rs | bat
|
||||||
|
Loading…
Reference in New Issue
Block a user