|
[Date Index]
[Thread Index]
[Author Index]
Re: How to always output result in InputForm from the command line
- To: mathgroup at smc.vnet.net
- Subject: [mg91838] Re: How to always output result in InputForm from the command line
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 9 Sep 2008 06:59:50 -0400 (EDT)
- References: <ga2pnn$p6t$1@smc.vnet.net>
Hi,
set
$Post = InputForm
at the begin of your test.m
file.
Regards
Jens
Peng Yu 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)
>
Prev by Date:
Re: after install mathematica in archlinux .i can not run math or
Next by Date:
Re: Comparison of coefficients
Previous by thread:
Re: How to always output result in InputForm from the command line
Next by thread:
Re: How to always output result in InputForm from the command line
|