I am sorry that you think I was arguing with you. I apologize if it sounded that way. Yes what you showed me will do what I wanted. But it did not explain why export was not working. I could do what you suggest, and by adding another file I can source that file and put the variable into the environment, but you did not explain why export was not working. Roberto Sanchez explained that is a subsequent email.
Thank you both for your help. I think I can fix my current issue and understand where I was going wrong. Tony -----Original Message----- From: Mike McCarty [mailto:[EMAIL PROTECTED] Sent: Sunday, January 07, 2007 3:02 AM To: debian-user@lists.debian.org Subject: Re: export question Tony Heal wrote: > Here is the problem. What you suggest will place the variable in the > environment, but that is what export is supposed to do. > >>From the man for bash > export [-fn] [name[=word]] ... > export -p > The supplied names are marked for automatic export to the environment of > subsequently executed commands. > > Export should allow me to use the variable in other scripts, but it does not > seem to be doing what it does if used in the profile. > I showed you how to do what you want. I showed that it does what you want by example. I don't know why you are arguing with me. The example I gave does exactly what you just described. If you do what I suggested, subsequent scripts will see those variables. > That is what I am confused about. You wouldn't be confused if you would lift a finger and try my example for yourself. You are being lazy. Mike -- This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -----Original Message----- From: Mike McCarty [mailto:[EMAIL PROTECTED] Sent: Sunday, January 07, 2007 3:02 AM To: debian-user@lists.debian.org Subject: Re: export question Tony Heal wrote: > Here is the problem. What you suggest will place the variable in the > environment, but that is what export is supposed to do. > >>From the man for bash > export [-fn] [name[=word]] ... > export -p > The supplied names are marked for automatic export to the environment of > subsequently executed commands. > > Export should allow me to use the variable in other scripts, but it does not > seem to be doing what it does if used in the profile. > I showed you how to do what you want. I showed that it does what you want by example. I don't know why you are arguing with me. The example I gave does exactly what you just described. If you do what I suggested, subsequent scripts will see those variables. > That is what I am confused about. You wouldn't be confused if you would lift a finger and try my example for yourself. You are being lazy. Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]