Path: utzoo!attcan!uunet!garfield!john13 From: john13@garfield.MUN.EDU (John Russell) Newsgroups: comp.sys.amiga Subject: Re: Shells Message-ID: <5061@garfield.MUN.EDU> Date: 3 Jan 89 16:00:12 GMT References: <8079@orstcs.CS.ORST.EDU> Reply-To: john13@garfield.UUCP (John Russell) Organization: Memorial University of Newfoundland Lines: 17 In article <8079@orstcs.CS.ORST.EDU> bennete@romana.cs.orst.edu (Erik Bennett) writes: > >cat >foo.uue bar.z* >and it didn't work. foreach a ( bar.z* ) "cat >>foo.uue $a" This appends each file to the file foo.uue, which is not required to exist before you execute the command. The foreach command is ideally suited to getting around the 256 char limit on command lines or dealing with commands that don't take multiple parameters. John -- "If you steal all money, kids not be able to BUY TOYS!" -- Saturday morning cartoon character explaining why theft is bad