mirror of
				https://github.com/facebook/zstd.git
				synced 2025-11-03 20:33:11 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			197 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			197 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
zstd=${ZSTD:-zstd}
 | 
						|
 | 
						|
# TODO: Address quirks and bugs tied to old versions of less, provide a mechanism to pass flags directly to zstd
 | 
						|
 | 
						|
export LESSOPEN="|-${zstd} -cdfq %s"
 | 
						|
exec less "$@"
 |