The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 -->
  #7 (permalink)  
Old 01-22-2006
new2prog new2prog is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 9
Hi ,

Thanks for you reply.

But I wanted the script to pick each Filesystem status from the file and see whether it was backed up or not.

Looks like the way you are starting the script is wrong.
while read line; do
mminfo -c <clinet_name> -t yesterday | grep $line

My question is with out defining the variable line how can grep understand it.

Please reply back..

Thanks