|
|
1.1 ! root 1: cat $* | sed -e '/.*\..*/!s/$/.0/' | awk '{ ! 2: if (NR == 1) { ! 3: printf "static double rn0[256] = {\n" ! 4: printf "\t%s,\n", $0 ! 5: } else if (NR == 256) { ! 6: printf "\t%s\n", $0 ! 7: printf "};\n\n" ! 8: printf "static double ln0[256] = {\n" ! 9: } else if (NR == 512) { ! 10: printf "\t%s\n", $0 ! 11: printf "};\n\n" ! 12: printf "static double rn1[256] = {\n" ! 13: } else if (NR == 768) { ! 14: printf "\t%s\n", $0 ! 15: printf "};\n\n" ! 16: printf "static double ln1[256] = {\n" ! 17: } else if (NR == 1024) { ! 18: printf "\t%s\n", $0 ! 19: printf "};\n\n" ! 20: printf "static double rp0[256] = {\n" ! 21: } else if (NR == 1280) { ! 22: printf "\t%s\n", $0 ! 23: printf "};\n\n" ! 24: printf "static double lp0[256] = {\n" ! 25: } else if (NR == 1536) { ! 26: printf "\t%s\n", $0 ! 27: printf "};\n\n" ! 28: printf "static double rp1[128] = {\n" ! 29: } else if (NR == 1664) { ! 30: printf "\t%s\n", $0 ! 31: printf "};\n\n" ! 32: printf "static double lp1[128] = {\n" ! 33: } else if (NR == 1792) { ! 34: printf "\t%s\n", $0 ! 35: printf "};\n\n" ! 36: printf "static double le[256] = {\n" ! 37: } else if (NR == 2048) { ! 38: printf "\t%s\n", $0 ! 39: printf "};\n" ! 40: } else ! 41: printf "\t%s,\n", $0 ! 42: }'
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.