Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Running the kernel command line with additional input files

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61618] Running the kernel command line with additional input files
  • From: kalymereau at yahoo.fr
  • Date: Mon, 24 Oct 2005 01:43:58 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi MathGroup

I have a package myPack.m that reads input from two text files
file1.txt file2.txt

The names of the files will change from job to job and thus have to be
given by the user.

Thus I would like to run something like
   math < myPack.m (whatever) file1.txt file2.txt

I have tried with Input[] instructions in myPack.m but it doesn't work.

How could I do that ?

Thanks


  • Prev by Date: Print in a loop
  • Next by Date: Re: Importing from Adobe Illustrator
  • Previous by thread: Re: Print in a loop
  • Next by thread: Re: Running the kernel command line with additional input files