Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.os.misc Subject: Re: Globbing Message-ID: <19507@cbmvax.commodore.com> Date: 5 Mar 91 01:56:27 GMT References: <19217@cbmvax.commodore.com> <5573:Feb2307:19:4491@kramden.acf.nyu.edu> <19336@cbmvax.commodore.com> <17704:Feb2719:04:3791@kramden.acf.nyu.edu> <19375@cbmvax.commodore.com> Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Distribution: na Organization: Commodore, West Chester, PA Lines: 16 In article peter@ficc.ferranti.com (Peter da Silva) writes: >> Tell me how I invoke multiple programs at once with the same >> argument list. > >for i in prog1 prog2 ...; do $i arg list; done Like I said, you have to put it in a variable first (and in this case is generated by a command ("for"), which would do the globbing before stuffing the variable). -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup The compiler runs Like a swift-flowing river I wait in silence. (From "The Zen of Programming") ;-)