mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-31 15:12:12 +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:
		
				
					committed by
					
						 David Peter
						David Peter
					
				
			
			
				
	
			
			
			
						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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user