Path: utzoo!attcan!uunet!lll-winken!ames!haven!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: stdout (was What "isatty"?) Message-ID: <17841@mimsy.UUCP> Date: 1 Jun 89 23:05:22 GMT References: <19756@adm.BRL.MIL> <17796@mimsy.UUCP> <1954@plx.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 17 In article <1954@plx.UUCP> evan@plx.UUCP (Evan Bigall) writes: >And to complete the circle, I would kill for a C compiler that would read >from standard input so I could do: > > lex -t -n input.l | sed -f fixlex.sed | m4 -s debug.m4 - | cc -c - On a 4BSD system, you could lex -t -n input.l | sed -f fixlex.sed | m4 -s debug.m4 | /lib/cpp | /lib/ccom | /lib/c2 | as -o input.o (remove /lib/c2 to avoid the equivalent of cc -O). Suns demand that the assembler input come from a file, unfortunately. Other machines may not even have a way to run the compiler guts directly. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris