Path: utzoo!mnetor!uunet!husc6!uwvax!heurikon!davek From: davek@heurikon.UUCP (Dave Klann) Newsgroups: comp.sys.att Subject: Re: Curious ksh hack Message-ID: <195@heurikon.UUCP> Date: 22 Mar 88 14:25:11 GMT References: <340@manta.UUCP> <1486@houdi.UUCP> Reply-To: davek@heurikon.UUCP (Dave Klann) Organization: Heurikon Corp., Madison WI Lines: 16 In article <1486@houdi.UUCP> marty1@houdi.UUCP (M.BRILLIANT) writes: [ Discussion about the startup variable, and how it works. ] >The desired effect is achieved if, as it says in the manual entry, >"command and parameter substitution is performed on the value [of $ENV] >to generate the pathname of the script ...." On my system, substitution >doesn't seem to happen, so it doesn't work. > >M. B. Brilliant Marty I fought this one for a while too. Then after playing with the script, and watching it carefully, I realized that the variable START (or its equivalent) must be exported for the hack to work. "DUH!," I said to myself. But hopefully this posting will help others avoid the same mistake.