Search Results

Search: Posts Made By: vacadepollo
4,947
Posted By neutronscott
ahhhhh haha. i should have forseen this. this...
ahhhhh haha. i should have forseen this. this is normal here. the problem is you are in a subshell!
everything done by | while read is not executed in same context. this shows more clearly with...
4,947
Posted By neutronscott
If you are looking to do cleanup on script exit,...
If you are looking to do cleanup on script exit, maybe you really want just trap:


cleanup() {
rm ... etc ...
}
trap cleanup EXIT


but no matter what I do, exit has always exit the...
Showing results 1 to 2 of 2

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