Set parent env with csh script
Doug Gwyn
gwyn at smoke.BRL.MIL
Wed Jan 11 05:07:18 AEST 1989
In article <1291 at uwbull.uwbln.UUCP> ckl at uwbln.UUCP (Christoph Kuenkel) writes:
>So any variable assignement and/or environment setting is uneffective outside
>the while-loop.
>Any elegant solution to that?
Well, I think we already solved the original problem, but as for the case
you bring up, various workarounds are sometimes possible, depending on
just what it is you really need to do. Often, one can construct a string
in the (non-subprocessed!) loop then use the string with "exec" or some
such afterwards.
More information about the Comp.unix.wizards
mailing list