How to always output result in InputForm from the command line
- To: mathgroup at smc.vnet.net
- Subject: [mg91798] How to always output result in InputForm from the command line
- From: Peng Yu <PengYu.UT at gmail.com>
- Date: Mon, 8 Sep 2008 05:02:55 -0400 (EDT)
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)