14 lines
202 B
Awk
14 lines
202 B
Awk
|
#!/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"
|
||
|
}
|