summaryrefslogtreecommitdiff
path: root/src/basic/cap-to-name.awk
blob: 402a782024eb238d4c35316eb06fa26f782e52cf (plain)
1
2
3
4
5
6
7
8
9
BEGIN{
        print "static const char* const capability_names[] = { "
}
{
        printf "        [%s] = \"%s\",\n", $1, tolower($1)
}
END{
        print "};"
}