On Tue, Apr 6, 2010 at 7:25 PM, Mike Mestnik <[email protected]> wrote:
> { printf "line1\n"; printf "line2\n"; } | cat > blah.tmp
>
{ printf "line1\n"; printf "line2\n"; } | gcc...
>
If you're using bash (and possibly some other shells), it's easier to:
{ print "..."; printf "..."; } > blah.tmp
{ print "..."; printf "..."; } | gcc ...
i don't know if that syntax works in Bourne-compatibility mode.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make