mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:42:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
	
		
			353 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			353 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| yes - output a string repeatedly until killed
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| ```**sh
 | |
| $ yes [string]
 | |
| ```
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| `yes` outputs an endless stream of specified `string` (with trailing newline) in a loop.
 | |
| 
 | |
| ## Options
 | |
| 
 | |
| * `string`: String to print; defaults to "yes".
 | |
| 
 | |
| ## Examples
 | |
| 
 | |
| ```sh
 | |
| $ yes
 | |
| yes
 | |
| yes
 | |
| yes
 | |
| yes
 | |
| yes
 | |
| yes
 | |
| yes^C
 | |
| $ yes t
 | |
| t
 | |
| t
 | |
| t
 | |
| t
 | |
| t
 | |
| t
 | |
| t
 | |
| t
 | |
| t
 | |
| t^C
 | |
| ```
 | 
