7 int main(int argc, char **argv)
9 struct stream *i = sopen_fd("stdin", 0);
15 while ((opt = getopt(argc, argv, "lsv")) >= 0)
19 t.flags = TF_REPORT_LINES;
32 while (tok = get_token(&t))
35 #define T(f, type, fmt) { type x; if (to_##f(&t, &x)) printf(" = " #f " " fmt, x); }
39 T(uint, unsigned int, "%u");
40 T(long, long int, "%ld");
41 T(ulong, unsigned long int, "%lu");
42 T(double, double, "%f");
43 T(long_double, long double, "%Lf");