Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!ns-mx!umaxc.weeg.uiowa.edu From: jfrancis@umaxc.weeg.uiowa.edu (Jeff Francis,Home Number,,3540765) Newsgroups: comp.unix.shell Subject: Re: Accessing a "c" program value from a csh script Message-ID: <2401@ns-mx.uiowa.edu> Date: 21 Sep 90 18:41:16 GMT References: <2629@uc.msc.umn.edu> Sender: news@ns-mx.uiowa.edu Lines: 15 From article <2629@uc.msc.umn.edu>, by wes@uh.msc.umn.edu (Wes Barris): > I have a "c" program that returns an integer value. How does one run this > program from within a csh script and access the returned value? I have > tried various forms of the following lines with no luck. The value returned from any program is "remembered" in $status. -jpf ------------------------------------- Jeff Francis THINK Class Library Evangelist and CS Student, University of Iowa jfrancis@umaxc.weeg.uiowa.edu -------------------------------------