Dear all,
How can i unset arrays. I mean all the subscripts including the array after using them.
Could you direct me to some links of array memory handling in the korn shell.
Thanks
Dear all,
How can i unset arrays. I mean all the subscripts including the array after using them.
Could you direct me to some links of array memory handling in the korn shell.
Thanks
You can use "unset"...
if you set an array like so:
some_array[0]="something"
some_array[1]="something else"
then you can unset an individual index, or the entire thing:
unset some_array[1] #unsets just the index '1'
unset some_array # unsets the whole array and everything in it
Thanks Gee-money