I know this is lame way to do it. We need to capture a string that is dynamically generated in a Java program in the calling shell script and then use it later.
Also this is to be done in an existing csh file.
We considered the option of exporting it to an environment variable using putenv/setenv ... is that a better option? If so how to use it?
There seems to be lack of example code on net on how to effectively use sentenv() or putenv() and what libraries to import for the same.
System class that has the getenv() method does not show my putenv() or setenv(). Any help is highly appreciated.
Thanks.