|
|
1.1 ! root 1: BEGIN { ! 2: hdr = "#warning Compatibility header file imported, use <%s/%s>\n" \ ! 3: "#import\t<%s/%s>\n" ! 4: } ! 5: /^#/ { # skip comments in data file ! 6: continue; ! 7: } ! 8: /COMPATMACHINE/ { ! 9: ofile = sprintf("compat/%s/%s", $2, $3); ! 10: printf("#import\t<machine/compat_%s>\n", $3) > ofile ! 11: printf(hdr, $1, $3, $1, $3) > ofile; ! 12: continue; ! 13: } ! 14: /DELETED/ { ! 15: ofile = sprintf("compat/%s/%s", $2, $3); ! 16: printf("#error This file has been removed\n") > ofile; ! 17: continue; ! 18: } ! 19: { ! 20: ofile = sprintf("compat/%s/%s", $2, $3); ! 21: printf(hdr, $1, $NF, $1, $NF) > ofile; ! 22: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.