The UNIX and Linux Forums  

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




Thread: grep help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 02-06-2007
roshanjain2 roshanjain2 is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 16
echo "Please enter the pattern below:"
read pattern
echo -e "Scanning t1 Logs...\n"
grep -i $pattern /f1/log/t1.log*


it stops searching after the above line...i want the script to execute the rest of the commands...