Re: How to always output result in InputForm from the
- To: mathgroup at smc.vnet.net
- Subject: [mg91837] Re: [mg91798] How to always output result in InputForm from the
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Tue, 9 Sep 2008 06:59:39 -0400 (EDT)
- Reply-to: hanlonr at cox.net
$Post = InputForm
Bob Hanlon
---- Peng Yu <PengYu.UT at gmail.com> wrote:
=============
Hi,
By default the command line program show results not in InputForm. I
want all the output be in InputForm. Instead of appending each line
with "//InputForm", is there any better solution?
Thanks,
Peng
$ math < test.m
Mathematica 6.0 for Linux x86 (64-bit)
Copyright 1988-2007 Wolfram Research, Inc.
In[1]:=
a
Out[1]= -----
x + y
In[2]:=
$ cat test.m
a/(x+y)
--
Bob Hanlon