1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/awk BEGIN { printf("const char *mke2fs_default_profile = \n"); } { printf(" \"%s\\n\"\n", $0); } END { printf(";\n", str) }