#!/usr/bin/awk -f # # this utility script make a file who # is includet by 'crapulator.h' # BEGIN { print "// -----------------------------------" print "// generated file, do not edit by hand !" print "// -----------------------------------" } { printf "#define CR_%s (%d)\n", $2, $1 } END { print "// generated file, do not edit by hand !" }