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 -->
  #6 (permalink)  
Old 12-31-2008
Christoph Spohr Christoph Spohr is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 205
Yes, there is a little typo.
The headers go to: logfile
The search string to LOG_FILE

printf "%s\n\n" ... means print the string followed by two
linefeeds, so it takes care of your two echo commands in
one command. The string to print is the via sed adjusted
filename.