From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-ArrivalTime: 1994-03-10 11:25:33 PST Xref: gmd.de comp.org.decus:2852 comp.os.vms:42021 comp.sys.dec:14125 comp.unix.advocacy:997 Path: gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!news.ecn.bgu.edu!feenix.metronet.com!tachyon!montagar!davidc Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Message-ID: <1994Mar10.142533.18786@avatar.montagar.com> From: davidc@avatar.montagar.com (David L. Cathey) Date: 10 Mar 94 14:25:33 CDT References: <1994Feb26.204059.4068@mixcom.mixcom.com> <2lkgnrINNpqi@jhunix.hcf.jhu.edu> <1994Mar9.151036.18781@avatar.montagar.com> <1994Mar10.124844.9915@infodev.cam.ac.uk> Organization: Montagar Software Concepts, Plano TX In article <1994Mar10.124844.9915@infodev.cam.ac.uk>, michael@mail.ast.cam.ac.uk (Michael Lemke) writes: > Right. But here's the thing you can't do in DCL: > > X.COM: > > $ set ver > $ a="Paper: ""Very Interesting"" (really)" > $ mail/subj="''a'" Sure you can: X.COM: $ set ver $ a="Paper: ""Very Interesting"" (really)" $ mail/subj=&a > As far as I know there is no way around this while I don't think there > is any substitution that can't be done in the Bourne shell. Correct me > if I am wrong. You are corrected. Granted that the "&" syntax is rarely used, it does provide an alternate mechanism if the '' one is insufficient. How about a substitution of a substitution in Unix? Probably possible, but the syntax is probably just as ugly... $ A = "Hello" $ B = "A" $ write sys$output "''&B'" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - David L. Cathey |INET: davidc@montagar.lonestar.org Montagar Software Concepts |UUCP: ...!montagar!davidc P. O. Box 260772, Plano TX 75026-0772 |Fone: (214)-618-2117 NOTE: Due to circumstances beyond my control, please use the lonestar.org address until further notice.