/* re: seq.py -- it's just as easy in C. bite me. but look at all the boilerplate! and the verbosity! */ #include #include int main(int argc, char* argv[]) { int i, count; if (argc != 2) { printf("usage: %s n\n", argv[0]); exit(1); } count = atoi(argv[1]) + 1; for (i = 1; i < count; i++) printf("%d\n", i); return 0; }