e2fsprogs/misc/profile-to-c.awk

13 lines
140 B
Awk

#!/bin/awk
BEGIN {
printf("const char *mke2fs_default_profile = \n");
}
{
printf(" \"%s\\n\"\n", $0);
}
END {
printf(";\n", str)
}