Artifact 4c335dbe1be61eb0976b573d5bcb1c121aaebf77:
- File headers.awk — part of check-in [0a6b909b1f] at 2014-05-02 05:34:45 on branch trunk — Updated to install required basic headers (user: rkeene, size: 360) [annotate] [blame] [check-ins using]
/^# [0-9][0-9]* /{ file = $3; gsub(/^"/, "", file); gsub(/"$/, "", file); destfile = file; if (!gsub(/^.*\/include\//, "", destfile)) { if (!gsub(/^.*\/include-fixed\//, "", destfile)) { next } } if (file ~ /</) { next; } if (file !~ /\.h$/) { next; } copy[file] = destfile; } END{ for (key in copy) { print key, copy[key]; } }