Roy Smith <r...@panix.com> writes:

> I once knew a guy who linked /dev/tty.c to /dev/tty, then he could do 
> "cc /dev/tty.c" and type a C program in to the compiler from the 
> terminal.

I thought some old C compilers took input from stdin without that kind
of trickery? Oh, looks like modern gcc does it too, as long as the
language is specified with -x.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to