The UNIX and Linux Forums  

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




Thread: printf command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 08-07-2002
FIRE FIRE is offline
Registered User
  
 

Join Date: Jul 2002
Location: South of Holland
Posts: 10
I found the solution.

I have replaced $MESSAGE by "$MESSAGE".

Code:
printf "%-8s %-10s %-6s %-6s %-80s\n" $CUSTNR $DATE $TIME $ERROR "$MESSAGE" >> error.log