Les Mikesell wrote:
On Sat, 2006-03-04 at 14:07, bruce wrote:hi.. i have the following simple script... # .foo # User specific environment and startup programs JAVA_HOME=/opt/IBMJava2-141 export JAVA_HOME ------------------- when i do a >./foo.sh,That command will send your stdout to a file named foo.sh, overwriting it's current contents. Is that what you intended?
I think he means he's doing a ./foo.sh when I think he wants to do a . ./foo.sh -- Linux Home Automation Neil Cherry ncherry linuxha com http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog http://home.comcast.net/~ncherry/ Backup site