File: profile-to-c.awk

package info (click to toggle)
e2fsprogs 1.43.4-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 33,952 kB
  • ctags: 11,812
  • sloc: ansic: 120,622; sh: 5,852; makefile: 5,473; awk: 523; yacc: 288; sed: 207; perl: 170; python: 23
file content (12 lines) | stat: -rw-r--r-- 140 bytes parent folder | download | duplicates (14)
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)
}