2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-16 21:25:56 +00: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:
Alexander Jackson 2020-06-03 06:47:33 +01:00 committed by David Peter
parent fca83bf79a
commit 6e3e7dafca

View File

@ -62,9 +62,9 @@ Display multiple files at once
> bat src/*.rs
```
Read from stdin, determine the syntax automatically (note, this will only work
if the syntax can be determined from the initial line of the file, usually
through a shebang such as `#!/bin/sh`)
Read from stdin, determine the syntax automatically (note, highlighting will
only work if the syntax can be determined from the first line of the file,
usually through a shebang such as `#!/bin/sh`)
```bash
> curl -s https://sh.rustup.rs | bat