Artifact ea9e38a74d34ba039a25d7e31f5f480b709d52af:
- File headers.awk — part of check-in [d3f22e0fb0] at 2014-05-02 07:16:09 on branch trunk — Updated to move GCC fixed headers into a fix directory (user: rkeene, size: 364) [annotate] [blame] [check-ins using] [more...]
/^# [0-9][0-9]* /{ file = $3; gsub(/^"/, "", file); gsub(/"$/, "", file); destfile = file; if (!gsub(/^.*\/include\//, "", destfile)) { if (!gsub(/^.*\/include-fixed\//, "fix/", destfile)) { next } } if (file ~ /</) { next; } if (file !~ /\.h$/) { next; } copy[file] = destfile; } END{ for (key in copy) { print key, copy[key]; } }