The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-05-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,242
Mary, please do not post to multiple forums it is against the rules.

The problem is this line:

export $file1=$home1/pip1.$$


This is not the correct way to export a variable

The correct syntax is
Code:
export [name[=word]] ...

no $ in name.

Last edited by reborg; 02-05-2007 at 03:49 PM..