From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 17-DEC-1990 12:21:40.78 To: MRGATE::"ARISIA::EVERHART" CC: Subj: Re: That old classic, RUN image p1 p2 ... Received: by crdgw1.ge.com (5.57/GE 1.80) id AA08609; Sun, 16 Dec 90 18:25:19 EST Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Sun, 16 DEC 90 12:07:30 PST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA09460; Sun, 16 Dec 90 11:55:41 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 16 Dec 90 03:23:20 GMT From: comp.vuw.ac.nz!gp.co.nz!zl2tnm!don@uunet.uu.net (Don Stokes) Organization: The Time Machine Room Subject: Re: That old classic, RUN image p1 p2 ... Message-Id: References: <9012150353.AA09740@BULLDOG.CS.YALE.EDU> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com leichter@LRW.COM (Jerry Leichter) writes: > I though I'd shared the following handy little definition: > > $ EXEC*UTE == "$SYS$DISK:[]'" > > Create this command, and then set your default to a directory containing an > executable that requires parameters. Then try: > > $ EXEC image p1 p2 > > "Not really RUN with parameters, but an amazing life-like simulation." Now *that's* neat. I'v wanted to be able to do that for yonks. > (Now, if you want to know why you need that magic trailing quote - and how I > stumbled on this: I'm not sure, and I can't remember!) Ten seconds of experimentation reveals: $ X == "Z" $ X Y equates to: $ Z Y whereas: $ X == "Z'" $ X Y equates to: $ ZY In short, the trailing quote prevents a space being appended to the symbol translation. Don Stokes, ZL2TNM / / Home: don@zl2tnm.gp.co.nz Systems Programmer, GP Print Ltd /GP/ Wellington, Work: don@gp.co.nz ________________________________/ /__New_Zealand_____PSI:__(5301)47000028::DON