25 Apr
2005
25 Apr
'05
15:22
Mike Dewhirst wrote:
I know this isn't strictly SuSE but I'd like a spot of help if anyone has the time :) TIA
I want to set a couple of environment variables at the beginning of a bash script which then calls some sql scripts and finally I want to unset those variables at the end.
'man env' env -i FOO=BAR and BAZ=BONG will give you a clean environment with only those two variable and should chop them at the end. Cheers, George -- George Barnett Reality Engineer m: (+44) 778 884 7205 e: george@alink.co.za There once was an old man from Esser, Who's knowledge grew lesser and lesser. It at last grew so small, He knew nothing at all, And now he's a College Professor.