mirror of
				https://github.com/jart/cosmopolitan.git
				synced 2025-10-27 03:16:44 +00:00 
			
		
		
		
	The WIN32 CreateProcess() function does not require an .exe or .com suffix in order to spawn an executable. Now that we have Cosmo bash we're no longer so dependent on the cmd.exe prompt.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			292 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			292 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| exec grep                       \
 | |
|      --exclude=TAGS             \
 | |
|      --exclude=HTAGS            \
 | |
|      --exclude=*.dbg            \
 | |
|      --exclude-dir=o            \
 | |
|      --exclude-dir=gcc          \
 | |
|      --exclude-dir=.git         \
 | |
|      --exclude=archive-contents \
 | |
|      "$@"
 |