From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,447a948bb64464c3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-10-20 07:53:58 PST Newsgroups: comp.lang.ada Path: bga.com!news.sprintlink.net!mv!news.mathworks.com!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!gatech!howland.reston.ans.net!pipex!uknet!dcs.gla.ac.uk!unix.brighton.ac.uk!wjmc From: wjmc@unix.brighton.ac.uk (The Trooper) Subject: Re: Ada programs in a UNIX environment (was Re: I have a question...) Message-ID: <1994Oct20.110151.16634@unix.brighton.ac.uk> Organization: University of Brighton, UK Date: Thu, 20 Oct 1994 11:01:51 GMT Date: 1994-10-20T11:01:51+00:00 List-Id: spiegel@bruessel.informatik.uni-stuttgart.de (Andre Spiegel) writes: [snip] > And what if the mechanism you have re-implemented gets changed (for > example, a new generation of shells comes up), or your program is to > be ported to, say, a non-UNIX environment, where there are completely > different conventions and facilities? > How's about either system ("echo $HOME/foo"); or system ("csh -c echo ~/bar"); ? I'm sure you can figure out how to call 'system' from Ada ... > Andre Spiegel -- # Bill Crawford, BSc (Hons) Comp Sci Year 4 : w.j.m.crawford@bton.ac.uk # # Any views wot I express is not necessarily those of Brighton University #