Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!usc!rutgers!mcnc!duke!egr.duke.edu!dukee!amr From: amr@dukee.egr.duke.edu (Anthony M. Richardson) Newsgroups: comp.sys.amiga Subject: Need help using eval in scripts Message-ID: <918@cameron.egr.duke.edu> Date: 28 May 90 14:13:11 GMT Sender: news@egr.duke.edu Lines: 22 I'll probably feel pretty silly for not being able to figure this out myself, but I've already gone well beyond my frustration level... 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 This is supposed to decrement the value in qwe and store the new value in loop and allows you to do loops. I've tried this and can't get it (or any seemingly logical permutations to work). Can anyone help? Thanks in advance, Tony p.s. I already know that several PD and commercial shells can do this quite easily, but I really want to know how to do it with eval and the standard commodore shell.