Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!leah!ms361 From: ms361@leah.Albany.Edu (Mark Steinberger) Newsgroups: comp.sys.amiga Subject: a programming request Keywords: loops Message-ID: <2349@leah.Albany.Edu> Date: 21 Dec 89 18:43:09 GMT Organization: The University at Albany, Computer Services Center Lines: 19 There have been a couple of programs that have come out recently which will execute commands to a number of files specified via wild cards. This is of course a really nice feature. It would also be useful to have loops available for ARP shell scripts which would loop through the contents of a set (which could be specified by something like $(type )), and assign the members of the set sequentially to a shell variable. That way loops could be used to generate files, not just to process preexisting ones. Would such a program be exceptionally difficult? --Mark P.S. I know that this can be accomplished using pipes and the ARP Read program, but that usage often requires multiple files for the script and can get cumbersome.