If you invoke the command as: . cmdname It works just fine, since "cmdname" is executed in the current shell.
Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of McKown, John Sent: Monday, October 10, 2005 2:15 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: 2005-10-04 Recommended Linux on zSeries code drop to developerWorks > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On > Behalf Of Post, Mark K > Sent: Monday, October 10, 2005 12:50 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: 2005-10-04 Recommended Linux on zSeries code > drop to developerWorks > > <snip> > be only one line of output. There's also no reason why an environment > variable, say CPRC, cannot be set to some number that just happens to > be the same as the CP return code. > > > Mark Post Huh? I know that a program can set an environment variable. However, it would be useless because, as best as I know, there is no way to propagate the variable back to the parent. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390