Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!jsivier From: jsivier@ux1.cso.uiuc.edu (Jonathon Sivier ) Newsgroups: comp.sys.amiga Subject: Re: Need help using eval in scripts Message-ID: <1990Jun2.170257.16907@ux1.cso.uiuc.edu> Date: 2 Jun 90 17:02:57 GMT References: <918@cameron.egr.duke.edu> Sender: Jonathan Sivier (jsivier@ux1.cso.uiuc.edu) Organization: University of Illinois at Urbana Lines: 17 In article <918@cameron.egr.duke.edu> amr@dukee.egr.duke.edu (Anthony M. Richardson) writes: >How does one use eval if you want to read one of the parameters from >an input file (or environment variable)? The 1.3 manual (the little >white book) I have says you can do this and even gives an example >that goes something like (from memory) > > eval < t:qwe value2=1 op=- to env:loop I think one thing you have to do if you are going to use input redirection with '<' is to redifine the braket characters to something like '{}'. Otherwise the parser see's the '<' as the beginning of an input parameter. I hope this helps some. -- Jonathan Sivier jsivier@ux1.cso.uiuc.edu