The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
printf command
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
printf command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
08-07-2002
FIRE
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
FIRE
View Public Profile
Find all posts by FIRE
Find FIRE's past nominations received
Find FIRE's present nominations given