* Convert the Nix database to SQLite.
This commit is contained in:
		
							parent
							
								
									eaaa13ce47
								
							
						
					
					
						commit
						c1a07f9445
					
				
					 6 changed files with 151 additions and 15 deletions
				
			
		|  | @ -14,10 +14,10 @@ int main(int argc, char * * argv) | |||
| { | ||||
|     int c; | ||||
|     if (argc != 2) abort(); | ||||
|     print("static unsigned char %s[] = {", argv[1]); | ||||
|     print("static unsigned char %s[] = { ", argv[1]); | ||||
|     while ((c = getchar()) != EOF) { | ||||
|         print("0x%02x, ", (unsigned char) c); | ||||
|     } | ||||
|     print("};\n"); | ||||
|     print("0 };\n"); | ||||
|     return 0; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue