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 -->
  #4 (permalink)  
Old 03-19-2009
hootdocta5 hootdocta5 is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 5
Quote:
Originally Posted by wabard View Post
Code:
#!/bin/sh
 
i=1
 
while(a=1)
do
     if test -e  "FILE."$i
     then
       let i+=1
     else
       break
     fi
done
 
cp -r FILE FILE.$i
what exactly does the a represent in this code?