Search Results

Search: Posts Made By: robotball
18,828
Posted By robotball
I tried EXPORT of the variable from the function,...
I tried EXPORT of the variable from the function, but this failed to work as well. Is there a way to call the function without the creation of the subshell? I could use the value passed back as an...
18,828
Posted By robotball
Is there anyway around this? I'm really stuck at...
Is there anyway around this? I'm really stuck at this point. Thanks.
18,828
Posted By robotball
global variable not being set
In ksh I thought a global variable was any variable in a script or function that did not have the typeset command. I have a global in my calling script which I increment in a function, but the value...
15,036
Posted By robotball
exit status of eval exec
I am using ksh88 and I am trying to catch the return status of opening a file using a file descriptor and the exec and eval commands. However I am not having much success. Here is what I have:
...
10,176
Posted By robotball
Found a solution. I added an additional argument...
Found a solution. I added an additional argument to the f_print_log routine to turn verbose off. I use this in the f_open_log routine and everything works fine.
10,176
Posted By robotball
I found what is causing the bad file descriptor,...
I found what is causing the bad file descriptor, however I do not know how to get the funcitonallity I want to work. I left a line out out of the f_print_log function as I was trying not to make my...
10,176
Posted By robotball
Thanks for responding. I am running ksh88.
Thanks for responding. I am running ksh88.
10,176
Posted By robotball
Passing a file descriptor
I am trying to right a function which uses a file descriptor to write to a log file. The problem is that the on the print statement the file descriptor is called bad. Now when I first open the file...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 01:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy