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 -->
  #3 (permalink)  
Old 05-22-2008
dinjo_jo dinjo_jo is offline
Registered User
  
 

Join Date: May 2008
Posts: 78
The file exists , but since there is a while loop each reads a file , it creates a subshell , so the value is lost as soon as while loop ends.