Curious ksh hack
Dave Klann
davek at heurikon.UUCP
Wed Mar 23 00:25:11 AEST 1988
In article <1486 at houdi.UUCP> marty1 at 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.
More information about the Comp.sys.att
mailing list