14 lines
202 B
Awk
Executable File
14 lines
202 B
Awk
Executable File
#!/usr/bin/awk -f
|
|
|
|
BEGIN {
|
|
print "// generated file, do not edit by hand"
|
|
}
|
|
|
|
{
|
|
printf "char str_%s[] = \"%s\" ;\t\t// %d\n", $2, $2, $1
|
|
}
|
|
|
|
END {
|
|
print "// generated file, do not edit by hand"
|
|
}
|