work on clang. I have no idea whether it runs or not as building a e.out program is quite hard and needs a special platform.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			186 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			186 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| # $Id$
 | |
| 
 | |
| echo '/* This file is generated from '$1'; do not edit */'
 | |
| 
 | |
| cat $1 |
 | |
| grep '^\.Wn' |
 | |
| sed '
 | |
| 	s/^\.Wn[	 ]*/	{/
 | |
| 	s/[	 ]*[0-9][0-9]*$/},/
 | |
| 	s/"[	 ][	 ]*W/", W/
 | |
| 	s/\\-/-/g
 | |
| '
 | |
| 
 |