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




Thread: scripting help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-08-2008
james94538 james94538 is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 11
scripting help

Does anyone knwo how to write the following script

In case I have script name as Test

Test pattern Filename will print the lines which contain the pattern for a given file name

so if I have test "oracle" a.log


I will list all the lines containg oracle in a.log file

Thanks

James